Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 UDP question for VB 6.0
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
docmur




PostPosted: Mon Oct 03, 2005 7:54 pm   Post subject: UDP question for VB 6.0

Okay so my friend is making a poker program that uses UDP to allow computer in the same room to log into the game and play. Currently his plan is to allow 4 player to login. He wants the dealer to be automatic.
So my question is How would he set up the code to allow for 4 different computers to login to his game ????
Sponsor
Sponsor
Sponsor
sponsor
rdrake




PostPosted: Mon Oct 03, 2005 8:21 pm   Post subject: (No subject)

It's been a while since I've touched VB, but I'll try to help.

I know that if you want to accept multiple connections on a single socket, you'll need to create a control array with a winsock control. I'm not sure how to do this, but it doesn't seem to be too hard. Just check out some examples on the sites below and you should find out how.

There are a few good sites for internet programming in VB:
md




PostPosted: Mon Oct 03, 2005 9:12 pm   Post subject: (No subject)

I haven't done anything in VB for eons, but I have done some network coding and I don't think UDP is what he should be looking at here. Since poker doesn't really require the (miniscule) speed advantage that UPD gives over TCP I'd recomend using TPC connections.

As for how... I have no idea
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: