Asynchronous Socket Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I am working on a Telnet Server using asynchronous sockets. The problem I am running into is that the Receive Callback functions are not being called until Enter is pressed on the client. This is not the normal method of Telnet. I need to be able to process each packet as it arrives, not wait until the Stream thinks the client has finished sending data with a carriage return/newline. How do I set this up

Thank

Robert
 
Have you done any network tracing to make sure data really is being sent down in
real-time versus after a newline is discovered. I know a number of telnet
clients that buffer input until an entire line has been written or the input
buffer is full.


--
Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers

Robert said:
Hello,

I am working on a Telnet Server using asynchronous sockets. The problem I
am running into is that the Receive Callback functions are not being called
until Enter is pressed on the client. This is not the normal method of Telnet.
I need to be able to process each packet as it arrives, not wait until the
Stream thinks the client has finished sending data with a carriage
return/newline. How do I set this up?
 
After I got some sleep I realized what I was missing... I forgot to process the Telnet option codes that set up Character mode. :/
 
Back
Top