VB6: Networking Problems
Posted: Wed Nov 07, 2007 6:01 pm
Hi everyone,
I'm making a game in VB for a school project and it uses networking for a multiplayer mode. The game itself is working well, with a map system and everything just works. However, I'm having some serious trouble with networking.
For my testing I run the server program and two clients. The two clients connect to the server, and the server sends the MOTD. This works perfectly. The first client receives broadcast packets properly and can see the second client moving. The second client can't receive them properly. I have a chat system implemented, and the second client will only ever receive a broadcast packet after a couple of chat messages have been sent to it. From then on it requires chat messages to "unblock the pipes" and let the broadcast packet through.
The broadcast packet just holds information about a specific player (specified by an ID) to be stored locally until the next broadcast.
Any ideas as to why I'm having trouble with the second client would be great. I've been working at this one bug for about two weeks now and school ends soon.
I'm making a game in VB for a school project and it uses networking for a multiplayer mode. The game itself is working well, with a map system and everything just works. However, I'm having some serious trouble with networking.
For my testing I run the server program and two clients. The two clients connect to the server, and the server sends the MOTD. This works perfectly. The first client receives broadcast packets properly and can see the second client moving. The second client can't receive them properly. I have a chat system implemented, and the second client will only ever receive a broadcast packet after a couple of chat messages have been sent to it. From then on it requires chat messages to "unblock the pipes" and let the broadcast packet through.
The broadcast packet just holds information about a specific player (specified by an ID) to be stored locally until the next broadcast.
Any ideas as to why I'm having trouble with the second client would be great. I've been working at this one bug for about two weeks now and school ends soon.