N
nooneinparticular314159
I wrote a program using NIO that reads some data from a channel and
immediately echoes it back to the source. If I telnet to the program
using the OS X telnet client running on the local machine, I can type
a string of any length that I want, and when I hit return, the string
I typed is transmitted and echoed back to my telnet client. If I
telnet using the Windows telnet client, what I type is transmitted and
echoed immediately! It's the same echo program doing this, so I'm
trying to figure out what is going on. Is the difference that the
windows client always transmits immediately while the OS X client
waits until you hit return? Or is there something about NIO that I've
overlooked?
Thanks!
immediately echoes it back to the source. If I telnet to the program
using the OS X telnet client running on the local machine, I can type
a string of any length that I want, and when I hit return, the string
I typed is transmitted and echoed back to my telnet client. If I
telnet using the Windows telnet client, what I type is transmitted and
echoed immediately! It's the same echo program doing this, so I'm
trying to figure out what is going on. Is the difference that the
windows client always transmits immediately while the OS X client
waits until you hit return? Or is there something about NIO that I've
overlooked?
Thanks!