chanikya
April 19th, 2008, 02:35 AM
Hi
i want to know how to create a UDP concurrent server
can any one give the source code for UDP concurrent server and client
MikeAThon
April 19th, 2008, 07:55 PM
I don't have code for you, but why not try writing your own? Here is a list of tutorials.
As a beginner, start with purely console-style applications. That way, you will not be distracted by user-interface issues:
"Beej's Guide to Network Programming" from Beej at http://beej.us/guide/bgnet/ . This is a good guide for beginners. Your post did not mention whether you were programming in Windows or in Linux (or some other OS). Beej's guide is written primarily for Linux/Unix, but it's easily adaptable to Winsock/other OSs, since it uses basic ideas from the original BSD socket implementation.
FAQ: "Where can I find examples of socket programs?" at http://www.codeguru.com/forum/showthread.php?t=326666 . Remember to confine yourself to the select-based console-style samples
"Winsock Programmer's FAQ", under Section 6.1 "Basic Example Programs": http://tangentsoft.net/wskfaq/examples/basics/
If gaming is your ultimate goal, then also:
"Multiplayer and Networking Tutorials" at http://www.gamedev.net/reference/list.asp?categoryid=30 . Some of these are better than others, so be choosy
Mike