Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Read Socket data on data, not return

by ecuguru (Monk)
on Dec 23, 2004 at 02:40 UTC ( [id://416984]=note: print w/replies, xml ) Need Help??


in reply to Re: Read Socket data on data, not return
in thread Read Socket data on data, not return

The entire server working code is in the first link: here
I'm only using telnet as the client, which is sending in every character.
client = telnet localhost 2323

thanks!!
  • Comment on Re^2: Read Socket data on data, not return

Replies are listed 'Best First'.
Re^3: Read Socket data on data, not return
by steves (Curate) on Dec 27, 2004 at 02:00 UTC

    Does your local telnet client tell you it's operating in character and not line mode? telnet can operate in either. I find that when I connect to non-telnet servers, my telnet client is in line mode, which would explain why your server is "waiting" for newlines -- it's actually only seeing full lines from the client, not characters. To see your telnet client's current mode, escape into telnet command mode and issue the status command.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://416984]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-25 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found