Where to send UDP packet to?
Posted: Tue May 25, 2010 12:10 pm
Hello,
I am trying to rewrite a TCP/IP implementation into UDP for speed. I get the connection thing with TCP/IP, so I know how to get the client's IP address.
How do I do that with UDP? I'd like the client(s) to connect to a port and the board to start sending data via UDP then. Can I get a list of connected clients somehow and send the packet to them?
The examples I saw always prompted for an IP address to send to.
Thanks!
Christoph
I am trying to rewrite a TCP/IP implementation into UDP for speed. I get the connection thing with TCP/IP, so I know how to get the client's IP address.
How do I do that with UDP? I'd like the client(s) to connect to a port and the board to start sending data via UDP then. Can I get a list of connected clients somehow and send the packet to them?
The examples I saw always prompted for an IP address to send to.
Thanks!
Christoph