Just wondering, is there a faster way to senddata & recieve data than use winsock?
Printable View
Just wondering, is there a faster way to senddata & recieve data than use winsock?
you can try using the CSocket class'http://www.vbip.com/winsock-api/csocket-class/csocket-class-01.asp
www.vbip.com/winsock-api/csocket-class/csocket-class-01.asp
i tryed but its not anyfaster just another way
You could use UDP instead of TCP, since the UDP protocol is faster.
DirectPlay is faster than Winsock. It is used in Massively Multiplayer Online Games, and that's what I call speed!
http://externalweb.exhedra.com/Direc...TUT_DX8_DP.asp
Fair point but look at the details ;)Quote:
Originally Posted by Jacob Roman
It uses UDP > packets not guarenteed to get to there destination, so it depend what you are using it for, UDP is used in games because a game can usually catch up on a missed packet.
It is wrapped around a winsock (I'm pretty sure this is what I ahve allwasy been told) correct me if I'm wrong.
Why do yuo want to go faster? Whtas wrong with your code? What protocal are you using? Tcp or UDP?
Pino
Okay, im using UDP protocal.
Im sending & recieving packets to a server using a timer. Id like to use another way, but if a server isnt responding it wont continue otherwise. I have the interval set to 500 on the timer to give it enough time.
Should i be using directplay then pino? You said it has winsock, so what would the advantage be then?