jma78
October 5th, 2005, 07:47 AM
Hi
I use ms vs 6 c++ on Win xp.
i have write a tcp client, which i will use to connect to a telnet server. i can connect to the server und i get first information (name, host , etc) from it.
but when ich send a command to the server e.g. "?" , the server do not answer the reply.
in the attachment is my code. I use send(), und recv(), not stdin,stdout (pipes)
who can say where is the failure.
thanks for your answers
jma
I use ms vs 6 c++ on Win xp.
i have write a tcp client, which i will use to connect to a telnet server. i can connect to the server und i get first information (name, host , etc) from it.
but when ich send a command to the server e.g. "?" , the server do not answer the reply.
in the attachment is my code. I use send(), und recv(), not stdin,stdout (pipes)
who can say where is the failure.
thanks for your answers
jma