Re: UDP broadcast inside kernel

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

 



Hi Jeongki ...

> I implemented a module using "http://kernelnewbies.org/Simple_UDP_Server";.
> So, now I can send and receive unicast messages inside kernel.
> But, I need to send and receive broadcast messages inside kernel.
> How can I change the code using above one?

I am not so sure, but IIRC sending to broadcast address such as 
192.168.255.255 on 192.168.0.0/16 network will do what you want. As for 
receiving the broadcast data, I think simply listen to the designated port 
will do the trick. Mind you again, this is just my guess.

Feel free to CMIIW people...

regards,

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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