Results 1 to 7 of 7

Thread: Anything faster than winsock?

  1. #1

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Anything faster than winsock?

    Just wondering, is there a faster way to senddata & recieve data than use winsock?

  2. #2
    Member
    Join Date
    Nov 2004
    Location
    California
    Posts
    46

    Re: Anything faster than winsock?

    you can try using the CSocket class'http://www.vbip.com/winsock-api/csocket-class/csocket-class-01.asp

  3. #3
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: Anything faster than winsock?

    www.vbip.com/winsock-api/csocket-class/csocket-class-01.asp

    i tryed but its not anyfaster just another way

  4. #4
    Fanatic Member
    Join Date
    Sep 2000
    Posts
    770

    Re: Anything faster than winsock?

    You could use UDP instead of TCP, since the UDP protocol is faster.

  5. #5
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    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

  6. #6
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Anything faster than winsock?

    Quote Originally Posted by Jacob Roman
    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

    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

  7. #7

    Thread Starter
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    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
  •  



Click Here to Expand Forum to Full Width