Results 1 to 4 of 4

Thread: [RESOLVED] [VB6] Winsock with my game

  1. #1

    Thread Starter
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Resolved [RESOLVED] [VB6] Winsock with my game

    I want to add winsock into my game. I just need very simple stuff.
    The client side (the gamer) will connect to a local server to get game inforamtion. The server side will take the information sent by the gamer and reply with the proper information. I have searched and had no luck finding a very simple tutorial.

    I dont need to do anything fancy. I just need to know how to set up the winsock stuff to listen on a certain port and sent information to a specific IP address.

    The information I will be sending will be very simple. Just lines of text and words, usually comma delimited, since the client side will just need to get Commands to tell it what to do.

    Stuff like such;

    Client sends to Server : "Connect","IP address","GameMap"
    Server sends back to client (to ip address supplied) : "RetrieveMap","MapFile"

    stuff like this. Then the client will send the information about how they did at the end of the game back to the server and the server will send back a thank you message. Stuff like this. If someone has a link to a simple winsock tutorial I would be greatly indebt.
    Kevin | New England Iced Over | http://www.kevincawleyjr.com

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: [VB6] Winsock with my game

    I moved your thread since you are not actualy asking any game related questions at all.

    - ØØ -

  3. #3

    Thread Starter
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Re: [VB6] Winsock with my game

    I have another question about winsock i hope can get answered along with my other question. How much information can be sent with one send message?

    If i had a string like: "Kevin,username,units,a,b,c,d,e,f,g,h,i" where each of the letters a through i are integers. I have alot of information to pass once and a while and i would like to know how much I can pass before Winsock gets bogged down.

    Thank you
    Kevin | New England Iced Over | http://www.kevincawleyjr.com

  4. #4

    Thread Starter
    Fanatic Member neicedover1982's Avatar
    Join Date
    Jun 2005
    Posts
    566

    Re: [VB6] Winsock with my game

    I was not getting any responses from anyone here so I went to another programming site and get the answers I was looking for there.
    Kevin | New England Iced Over | http://www.kevincawleyjr.com

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