[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [MacPerl] Perl sockets on Mac



In the Unix world, text lines are terminated by a newline (also known as
linefeed).
The newline is written as \n .

In the Mac world, text lines are terminated by a carriage-return.
MacPerl interprets \n as carriage-return, which is fine, except when you pass
things over the network.

I think you should have a linefeed at the end of the GET command.
Moreover, you will probably have to change linefeeds to carriage-returns in the
data you get back from the server.

Regards,
Peter Van Avermaet