vb6 - Winsock Array with data arriving simultaneously stops sending data to clients -
i've been searching online days , can't find has same problem vb6 winsock. here's problem, have server 2 winsocks in array. have 2 clients each 1 winsock control. have set server first sends info client a. client receives info , sends own info server. server sends info client b, 1 time client b receives data, sends own info server. info beingness sent client server, server client, server, , on client. did way because when tried doing way want work, having problems. had set way in order ensure 1 client sending info server @ 1 time. process works perfectly, want work in different way, since can image, more clients there are, longer delay in info transfer between each client , server.
so want do, can't work, have clients send , receive info server whenever want. is, client sends info server, , server sends info back, while client b doing same thing. when this, though have winsock array on server, run problem. when client first connects, begins sending , receiving info server. 1 time client b connects server, communication between client , server stops, , client b sends , receives info server. i've done tests , client remains connected server whole time. reason, seems if 2 clients send info server simultaneously, 1 info arrival event fires, though each winsock on different port. have not installed vb6 sp6 yet, i'm not sure prepare problem.
so hope read , explain me i'm not understanding or i'm doing wrong.
if search microsoft kb articles on winsock command find long history of flaws , bug fixes. there absolutely no reason not to install sp6 before attempting utilize vb6, since vast number of issues resolved on time.
once you've done (and then) worth talking problems of sort describe. @ to the lowest degree eliminates important number of known problems, , might worth discussing code.
vb6 client-server winsock
No comments:
Post a Comment