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

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 ...

Replies are listed 'Best First'.
Re: Re: Re: Re: writing to telnet?
by Anonymous Monk on Mar 10, 2003 at 13:28 UTC
    when i type something in, it doesn not show up in the client box until i close the server, did that happen to you?