Home > Back-end >  Beginners, DATASNAP TSQLConnection ACTIVE control of the client was always a SOCKET error=True
Beginners, DATASNAP TSQLConnection ACTIVE control of the client was always a SOCKET error=True

Time:09-24

Has been running on the server when doing the client, join the TSQLConnection, set parameters, and set the ACTIVE=TRUE, always to quote the socket error # 10061 or # 11004 error;
Client Settings are as follows:

CodePudding user response:

The hostname to IP will also be an error of the machine

CodePudding user response:

The port to try, the default of 211 is often occupied by other programs, general own program, suggested that the port is greater than 5000

CodePudding user response:

10004 The operation is canceled. Operation cancelled,
Cause analysis: this program is the central African call socket, right advice tracking debugging, find the code snippet,
1, call forced interrupt
2, a socket resource exhausted
3, the class pointer address error...

10061 Connection is forcefully rejected. The Connection was forced to refuse

Analysis: this is were rejected by the server (target machine), the connection cannot be established,
This type of error occurred in connection with the remote machine process each link, namely cannot connect to provide services,
1, refers to did not start the server or server is not in the listening state, Socket - & gt; The Active! When=true;
2, antivirus software blocked port 211
3, the network break
4, SCKTSRVR. Exe did not perform (low)
5, unregistered Midas. DLL version (low)
6, the client connection character incorrect
.