473,654 Members | 3,096 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# Networking help - Raw Sockets for IGMP

I'm pretty new to Windows programming (but not programming in
general). I'm trying to write a program that will generate IGMP
packets where I can control all of the payload in the packet but I'm
unclear as to how to do that. It looks like I need to create a socket
of SocketType.Raw and ProtocolType.IG MP. But after that I'm stumped.
What data do I/can I shove into the packet itself and how do I set the
recipient multicast address?

Thanks in advance for any insight any of you can shed on this.

George
Nov 27 '06 #1
0 2023

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1908
by: ias0nas | last post by:
Is it possible to have low level netwoking with python under Windows? Like raw sockets? Is it possible to send a single packet using python under windows? Thank you
0
1221
by: Tanner | last post by:
My project is to write two seperate programs. A Operating Room Scheduler Program, that calls a seperate Printing program on a command to print. I am left with one problem. Both programs have to connect to the host via TCP/IP. Both programs are setup to check if the sockets are defined, and if not to connect through a router as the second option. My company is doing away with the router, so essestially there is no choice for the...
4
2410
by: Fibre Optic | last post by:
Hi, I am looking for good book about network programming in C++. Probably it will difficult to find out book which explain such complicated subject for MS Windows & Linux but ... Could some one tell me few good books on this field ? Does anyone have experience witch ACE library ? Is it only high level of network programming, is it possible to write i.e. TFTP/FTP server with this library ?
46
2094
by: H.A. Sujith | last post by:
Why doesn't the standard library provide (at least basic) networking facilities using TCP/IP ?
1
1545
by: Brian Henry | last post by:
Hello, I was tring to learn socket's (being i never used them before) and have a simple question. I want to create a listner that will get any data recieved and print it out. I've been able to get it to recieve only one line of data, but the next one i send to it wont be printed like the 1st one. I had a listner running in a thread, does anyone have a simple listner code example that would show how to have a tcplistner thread running...
0
294
by: parth_mca | last post by:
hi this is parth, i m develping an application that sends a text message with a voice file(wav).. I know it using TCP protocol but i wanna use IGMP or RDM protocol type directly using the socket class.... TCP is connection oriented so it's easy to send n receive large(300 kb) voice files to/from large number of users and manage them.. but in UDP multicaste how can i manage identify which packet from which user?... any example using...
0
1581
by: gregory_may | last post by:
I posted this in the dotnet.framework group with no responce yet, maybe someone in these groups can point me in the right direction? Or maybe I need to use something already in .Net to get an IGMP multicast across firewalls? I need examples of .Net leveraging IGMP multicasting: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcetcpip/html/cmconinternetgroupmanagementprotocoligmp.asp I would need a client & server...
0
1304
by: Ben | last post by:
I modified the logmonitor sdk example so it would work over a network. It works great when the client and server are running on the same PC and have administrator privileges. So I have two problems: 1) I cannot run the client without administrator privileges. If I try I get the following message: Unhandled Exception: System.Security.SecurityException: Requested registry access is not allowed. at...
42
2559
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
I'm currently writing a program and I've got in mind to keep it as portable as possible. In particular I want it to run on Linux and Windows, but I'm also keeping an open mind to any machine that has a screen and is capable of Ethernet networking. The program requires three things that aren't available in the C Standard: 1) Coloured text (for a console application) 2) Raw socket networking 3) Multithreading For number 1, I've already...
0
8372
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8285
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8814
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8475
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8591
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4293
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2709
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.