How to solve the socket error??

Use the Tserversocket control program, this error appears when sending sendbuf, how to solve it?

Started by Les at February 01, 2016 - 1:03 PM

You write the target server? Correct? In CMD first Telnet IP Port test, have a look can connect to the server.

Posted by Roxanne at February 10, 2016 - 1:17 PM

Be able to connect to the server.
In the Tserversocket control's onread event to call sendbuf () function to send command. But is the use of sendbuf in other places can not () this function, appear above the "socket" problem. Also found on the Internet, there is no accurate answer. Don't know what to do?

Posted by Les at February 17, 2016 - 1:45 PM

The server, only out, no admittance, Is it right? Gateway problem, what settings?

Posted by Abigail at February 24, 2016 - 2:39 PM

[img=http://img.bbs.csdn.net/upload/201312/17/1387249146_662056.jpg][/imge
The net mouth end arranged above, Zhou Ligong settings.
Is in the other button event, call sendbuf () function through the network port conversion end, sending commands to the lower position machine error, socket problem. Serversocket.socket.sendbuf (is) problems.
Have been looking for reasons, not a solution.

Posted by Les at March 06, 2016 - 3:25 PM

Posted by Les at March 14, 2016 - 4:17 PM

The net mouth end arranged above, Zhou Ligong settings.
Is in the other button event, call sendbuf () function through the network port conversion end, sending commands to the lower position machine error, socket problem. Serversocket.socket.sendbuf (is) problems.
Have been looking for reasons, not a solution

Posted by Les at March 26, 2016 - 4:37 PM

What prompted error?

Posted by Cherry at April 06, 2016 - 5:34 PM

That is all, TCP you have connect, UDP had no address?

Posted by Anna at April 09, 2016 - 6:24 PM



Is this the wrong, always sendbuf () do not go out.

Posted by Les at April 15, 2016 - 6:55 PM

Ha-ha. The target address

Posted by Olina at April 21, 2016 - 7:38 PM

How to solve it?
I use the socket.sendbuf in the Tserversocket onread () to send a command word to the lower machine is OK.
But the use of Tserversocket.socket.sendbuf in my other subroutines (in) like sent down, will appear this problem. How to solve it.
Thank you.

Posted by Les at April 27, 2016 - 8:25 PM

Tserversocket before sending your tracking number, address, have a look the address with you first connect the address right

Posted by Olina at April 28, 2016 - 9:05 PM

The socket connection does not exist, does not exist, is wrong. I've also had a similar problem

Posted by Olina at January 05, 2017 - 11:27 AM

Is how to solve? Does the sendbuf (when), re connect a IP address? First, don't understand.

Posted by Les at January 15, 2017 - 12:09 PM