in reply to Re: writing to telnet?
in thread writing to telnet?

i tried writing to your client with my server but it did not work, is there something i am missing here? thanks alot for the help.

Replies are listed 'Best First'.
Re: Re: Re: writing to telnet?
by pg (Canon) on Mar 09, 2003 at 23:58 UTC
    Should work. (I tried on win32, but don't think that matters in this case)

    The steps to test are:

    1. Open a dos window (shell), run your server, your script says "waiting for connections...."
    2. Open a second dos window, run my client. In the window running your server, your script says, "client connected", and also print out 1234, which is sent from my client
    3. Now in the window running your server, type "a msg from server", hit ENTER
    4. In the window running my client, you should see "a msg from server". Also in the window running your server, you should see another 1234, which is again sent from my client.
    gave a try ...
      when i type something in, it doesn not show up in the client box until i close the server, did that happen to you?