How to Send UDP broadcasts over Socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: How to Send UDP broadcasts over Socket

hi,

How to send UDP broadcast messages over sockets
Suppose that I have a socket created with AF_INET+SOCK_DGRAM
and the relevant option set [SO_BROADCAST] using the
setsockopt( ) call, whether setting the destn. Ip-addr to "255.255.255.255"
+ the intended port will work??. Or Whether the kernel will ignore the ip-addr part[destn.]
when the SO_BROADCAST option is set??.

Rgds,
Sriram NS.


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux