Home > Software engineering >  Vb production server and client
Vb production server and client

Time:09-20

VB production server and the client, if you need more than one client, the server needs to add multiple winsock or only to a line?

CodePudding user response:

Need more, or you want to define the communication protocol to distinguish different session
Look at the example below, the framework is basically what you want, communication logic oneself change

http://www.m5home.com/bak_blog/article/169.html

CodePudding user response:

In writing when the server program to add multiple Winsock control, at first we started to join the two Winsock control, one used to listen to online request signal, named Listener; Another for the initial connection, named the Sock (0), note that after a control to be set as the form of a dynamic array, when customers increased, after can be in the control on the basis of the dynamic increase,

CodePudding user response:

I sell RMB 500 VB6 client and server WinSock communications example program source code,
QQ: 511606848
  • Related