Thanks for all the help, I can read UDP packets that are sent to my server application using the server's ip address. I can't read the UDP packets that are sent to the server using ip address 255.255.255.255 (broadcast). What am I missing? I need to read packets coming in as a broadcasted packet. Thanks in advance, Pat
On Sun, 2007-03-25 at 23:43, Lukas Gebauer wrote: > > Thank you for the reply. I found the sample you suggested. I'm still > > unclear how to implement the code. I took the echo demo and changed > > the socket from TCP to UDP. In main, I tried to udp broadcast and > > that is failing. I using the code from another e-mail. Can you > > explain the deamon execute and the thread execute? Maybe that will > > clear up come issues I'm having. Also, how do I get the PC's ip > > address when my server comes up? Thanks Pat > > UDP is different protocol then TCP. So, based UDP server on TCP > server code is wrong idea. See Synapse wiki pages for UDP server > sample. > > > > > > > ---------------------------------------------------------------------- > > --- Take Surveys. Earn Cash. Influence the Future of IT Join > > SourceForge.net's Techsay panel and you'll get the chance to share > > your opinions on IT & business topics through brief surveys-and earn > > cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > > DEV _______________________________________________ synalist-public > > mailing list [email protected] > > https://lists.sourceforge.net/lists/listinfo/synalist-public > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
