Click to See Complete Forum and Search --> : Internet Sockets
missinglenk
Oct 17th, 1999, 06:07 AM
I am developing a BINGO game. It is complete except for some finishing touches, only it lacks some aspects. It is single player only. I want to make my app into a client server application. Mainly I want to be able to play the game as a server or a client. But heres the catch. I dont know a thing about winsock or internet programming.
How would I go about desiging the network interface?
How would you go about it?
Where are some GOOD tutorials on how to do these things. Links to source sites with examples are welcomed but mainly Im looking for how to do it in as simple a mannor as possible.
Thank you and all who help me to atain this goal.
thinh
Oct 17th, 1999, 09:53 AM
Why don't you go to www.vbhelp.net (http://www.vbhelp.net) and there will tutorial, sample codes, and links to some good sites with good resources that could help!!!
missinglenk
Oct 17th, 1999, 11:08 AM
Thanks for the help but that site didnt have a thing i needed, I'm not trying to make a Winsock Chat program I am looking to implement network routines into my game.
Specifically: I need to make the game in server mode Not playable: It must broadcast the called numbers and the current number or else just store it and allow for a call to get the info.
the client version of the game will poll the server every one or two seconds or else connect to it and react when a number is added to the called numbers list and or called.
It will check for BINGO at all times. somehow.
missinglenk,
I didn't visit the above web site, but if you saw that it said how to create a chat program, wouldn't you just modify that code to "chat" with the server every 1 or 2 seconds and ask it (the server) for any new info (like a number or any winners)?
TheLeeMan
Oct 18th, 1999, 06:35 AM
I love winsock!!
You could try using a winsock OCX such as DSSocket.OCX to communicate directly from client(s) to server. They have a good chat program at their website www.dolphinsys.com (http://www.dolphinsys.com) and there's lots of cool stuff about winsock in the book "Visual Basic 4.0 Internet Programming" by the omnipotent Carl Franklin (it's not just VB4, works in all ver). Try it out!
------------------
TheLeeMan
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.