Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UDP connections in C

Status
Not open for further replies.

lekes

Programmer
Apr 20, 2009
2
CA
Hello,
So, I have written a Java applet for a client to run in their browser; it sends UDP packets back to the server and I now need to write a C application that will receive those UDP packets and respond accordingly..... I have started looking at examples, but most of them are kind of a blur to me... I'm kinda new to network programming in C, can someone explain it to me with a simple example? It would be greatly appreciated. The server will be running Unix. Thanks beforehand.

Cheers
 
Start by reading "beej", then see how you get on.



--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
 
Just do Web search for "simple C UDP server". You will get many hits.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top