취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

Telnet client

해결 완료!
솔루션으로 이동

I have a Telnet service running on a TI microprocessor.  I need to send a hex string to a telnet server. I have opened Simple TCP - Client from the examples. The server is refusing my connection, error 63. I have included my modifications to the example code.

0 포인트
1/6 메시지
7,427 조회수
솔루션
승인자 Gary_MavSysInc

I see you wired a constant of "23" to the "local port" input on TCP Open, which is probably not what you meant to do. Normally the local port can be left unwired, and since telnet normally runs on port 23, you might have meant to wire this constant to the "remote port or service" input, to which you've wired the string "telnet", which will only work if the telnet server is registered with the NI Services Locator. What happens if you wire the 23 constant to this input instead of the string?

2/6 메시지
7,407 조회수

Error 66

0 포인트
3/6 메시지
7,386 조회수

@Gary_MavSysInc wrote:

Error 66


Connection closed by peer.  This usually occurs when you try to open an invalid port or you did not do a log on process correctly.  Start by setting the remote port to 23, as you were previously told.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 포인트
4/6 메시지
7,371 조회수

Can you connect to the server with a regular telnet client like the one that comes with Windows?

0 포인트
5/6 메시지
7,337 조회수

My bad, I had TeraTerm open under several other windows connected as telnet to the microprocessor (TI TIVA). Once I selected port 23, as pointed out by artle (sp?) above, the SW started working. I gave mr. artle (SP?) credit for the solution. Thank you all for your help, I greatly appreciate it.

0 포인트
6/6 메시지
7,327 조회수