CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: telnet

  1. #1
    Join Date
    Oct 2005
    Posts
    2

    telnet

    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
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2005
    Posts
    2

    Re: telnet

    hi

    i forgot "\r\n" behind the message, which will send to the server

    jma

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured