|
-
Jul 28th, 2005, 12:20 AM
#1
Thread Starter
Admodistrator
Anything faster than winsock?
Just wondering, is there a faster way to senddata & recieve data than use winsock?
-
Jul 28th, 2005, 12:54 AM
#2
Member
Re: Anything faster than winsock?
you can try using the CSocket class'http://www.vbip.com/winsock-api/csocket-class/csocket-class-01.asp
-
Jul 28th, 2005, 01:24 AM
#3
Frenzied Member
Re: Anything faster than winsock?
-
Jul 28th, 2005, 02:07 AM
#4
Fanatic Member
Re: Anything faster than winsock?
You could use UDP instead of TCP, since the UDP protocol is faster.
-
Jul 28th, 2005, 05:26 AM
#5
Re: Anything faster than winsock?
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
-
Jul 28th, 2005, 06:16 AM
#6
Re: Anything faster than winsock?
 Originally Posted by Jacob Roman
Fair point but look at the details 
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
-
Jul 28th, 2005, 11:31 AM
#7
Thread Starter
Admodistrator
Re: Anything faster than winsock?
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|