Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 questions are moot...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2018-01-21 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (227 votes). Check out past polls.

    Notices?