Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: An introduction to POE

by rob_au (Abbot)
on Aug 10, 2003 at 13:23 UTC ( #282611=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    A common misconception in socket programming is that "\n"
    eq "\012" everywhere.  When using protocols such as common
    Internet protocols, "\012" and "\015" are called for
    specifically, and the values of the logical "\n" and "\r"
    (carriage return) are not reliable.
    
  2. or download this
    print SOCKET "Hi there, client!\r\n";      # WRONG
    print SOCKET "Hi there, client!\015\012";  # RIGHT
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2014-07-24 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls