|
-
Jan 18th, 2006, 01:49 PM
#1
Thread Starter
New Member
UDP broadcast under C/C++
Hello again people. Hopefully somebody will be able to help me out with this problem too!!
I need to implement a way of utuilising UDP broadcast in my clinet/server model. More specifically, the client needs to broadcast when it first runs, searching for a server. The server then needs to send a message back with its IP and port number, at which point the TCP connection can be established.
I have the TCP part in my work already - it is fixed within the client and the server, so I always know where to connect to.
What I need now is help on using the UDP broadcast. To be perfectly honest, I have no idea how to use UDP. My google searches always turn up inaccurate results - using it in linux, Java etc etc.
If anybody can provide me with a C/C++ link for some decent tutorials, or indeed help me solve the problem, I'd be very grateful.
Thanks all.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|