Struggling to understand UDP

Blitz3D Forums/Blitz3D Beginners Area/Struggling to understand UDP

Lykaestria(Posted 2008) [#1]
I've understood how to make networking code in blitz with TCP/IP for quite some time now, the way in which there is a single stream used by each client, and that the server can communicate with all of these via a single stream...

But what about UDP? In addition to the separate incoming and outgoing streams that each client uses, does the server need to also have only 2 separate streams like the client uses, or must it have a separate pair of streams for EACH client? If the latter is the case then what is the maximum number of ports and streams that can be used?


Wayne(Posted 2008) [#2]
no, it does not need separate streams per client.
The incoming packets will each be identified by IP# of the sender.