Home > Back-end >  A socket error how to solve??
A socket error how to solve??

Time:10-06

using Tserversocket control program, when sending sendbuf to this mistake, how to solve?

CodePudding user response:

The target server you write? Right? First used in the CMD Telnet IP Port test, and see if I can connect the server,

CodePudding user response:

The
reference 1/f, unearth response:
your target server? Right? First used in the CMD Telnet IP Port test, and see if I can connect the server,

Can be connected to the server,
In Tserversocket controls onread event called sendbuf () function to send command, but is can't use sendbuf elsewhere () the function, the "socket" above problems, also surf the Internet to find, there is no accurate answer, don't know how to do?

CodePudding user response:

The service side, only allowed out, not access, you the problem of the gateway, what Settings?

CodePudding user response:

[img=https://img-bbs.csdn.net/upload/201312/17/1387249146_662056.jpg] [/imge
Set up as above, so end easyarm Settings,
Is in the other button events, call sendbuf () function by easyarm front-end ports eoc, send commands to the next bit machine error, the socket out of the question, is the serversocket. Socket. Sendbuf problems () oh,
Have been looking for reasons, there is no way to solve,

CodePudding user response:

CodePudding user response:

reference mjp1234airen4385 reply: 3/f
server, only allowed out, do not access, you the problem of the gateway, what Settings?

Set up as above, so end easyarm Settings,
Is in the other button events, call sendbuf () function by easyarm front-end ports eoc, send commands to the next bit machine error, the socket out of the question, is the serversocket. Socket. Sendbuf problems () oh,
Have been looking for reasons, there is no way to solve it

CodePudding user response:

Prompt what mistake?

CodePudding user response:

Tip is very full, TCP words did you connect, udp address?

CodePudding user response:


refer to 7th floor sanguomi response:
prompt what mistake?

Is this mistake, always sendbuf () do not go out,

CodePudding user response:

Ha ha! The goal of the right address

CodePudding user response:

The
references to the tenth floor djc7811 response:
haha! Target is the right address of

How to solve?
I use sockets in Tserversocket onread. Sendbuf () sends the same command word to the next bit machine can be,
But in my other functions subprogram use Tserversocket. Socket. Sendbuf () sends the same forever, appears the question, how to solve,
thank you

CodePudding user response:

Tserversocket before send you track link address is how much, look at that address the first connection address right with you

CodePudding user response:

Is that a connection does not exist, the socket doesn't exist, just make a mistake, I as if also appear similar problem before

CodePudding user response:

reference 13 floor djc7811 reply:
that's connection does not exist, the socket doesn't exist, just make a mistake, I as if also appear similar problems before

How to solve? Don't in sendbuf (), to reconnect once IP address? Used for the first time, don't understand,

CodePudding user response:

How no one answered

CodePudding user response:

CodePudding user response:

Post code
Post code
Post code

CodePudding user response:

The
cited the 17th floor iamduo reply:

post codePost code
Post code

Thanks for jacking, I also asked the code, there has been no solution to oh,
  • Related