UDP port help needed

Blitz3D Forums/Blitz3D Programming/UDP port help needed

I used a demo from the code archives of a UDP chat program,
on 2 seperate computers.

http://www.blitzbasic.com/codearcs/codearcs.php?code=876

the server computer used port 4000 and the client used port 4001 with the createUDPserver command

whenever I used the same port (4000) for both PC's the messages could not be recieved. But it worked if they used different ports.

This makes things very difficult because I have to keep track of what port everyone is using and make them all different.



Has anyone experienced this before and come up with a solution?