(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-18-24 03:05 AM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - Strange VB6 TCP/IP problem New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6299 days
Last view: 6298 days
Posted on 05-03-06 04:00 PM Link | Quote
I'm working on a multiplayer game with chat support, that runs off a central server. it seems to work fine, except for one problem. Whenever there is more than one connection, only the last connected person to Battletankz gets any messages sent. I am using two computers, one as the server and a client, and one as the other client However, after the last computer to log on logged off, the other computer recieved all it's messages in a bundle when I sent one message from it!

EDIT: Here is the whole project, the program and the server code.

battletankz + the server

EDIT2: I found the problem... sort of. It seems that the server's senddata line ine the "SendToAll" subroutine doesn't work properly... it will only send to the last person to log on, until I hit the pause button and then the run button in sequence. Then the send to all the user completes and everyone gets the message...


(edited by Sukasa + on 05-04-06 10:59 AM)
(edited by Sukasa + on 05-04-06 02:41 PM)
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - Strange VB6 TCP/IP problem |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.004 seconds; used 344.80 kB (max 407.96 kB)