Re: Simple Winsock question
Why are you using UDP? TCP is way cooler!
Also, you are doing this all on a local host in which the ports are being fought over, like little kids with a Rubik's cube.
Try running it from different machines, actual external IP's, not local host.
Re: Simple Winsock question
What are you smokin? lol
Im making a multiplayer mod and when using TCP it was laaaaaaagy. But then I switched to udp and that made things like 100% smooth. So moving back to tcp is simply not an option.
It also happens with other ips, not just localhost :(
Re: Simple Winsock question
Have you tried using a socket index with the sockets?
Also, have you tried using port 0 as the local port on the server?
Re: Simple Winsock question
Localport as 0? Then how will the client know what port to send data to? :confused:
Also, ive never heard of indexes with UDP.. do udp servers require a RemotePort?
It would be best if someone would kindly point me to a multiple-user UDP example. Thanks.
Re: Simple Winsock question
Found this just a second ago. It may help, not sure though.
http://pscode.com/vb/scripts/ShowCod...23911&lngWId=1