|
-
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.
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
|