|
-
Aug 25th, 2005, 11:20 AM
#1
Thread Starter
Fanatic Member
[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.
-
Aug 25th, 2005, 01:03 PM
#2
Re: [VB6] Winsock with my game
I moved your thread since you are not actualy asking any game related questions at all.
- ØØ -
-
Aug 25th, 2005, 03:49 PM
#3
Thread Starter
Fanatic Member
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
-
Aug 26th, 2005, 08:16 AM
#4
Thread Starter
Fanatic Member
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.
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
|