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

Re: [MacPerl] Unix socket incompatibility?




>> The macperl client can make a connection, but the [NCSA Web] server
>> never sees or responds to it.

> Is the server on the Mac or on another host?

The server is on an HP (I thought that maybe this was the problem.)

> What kinds of end-of-lines are you sending down the wire?  Remember
> that network protocols usually want \015\012 (or in some cases in http
> \012\012, as I recall), and if you write that \r\n or \n\n in MacPerl
> you're sending exactly the wrong thing down the line.  I've learned
> from experience that a lot of different types of servers won't respond
> at all if you send incorrectly terminated lines.

\012\012 works!!!!!  I was sending \n\n.  Well, we can add this to the
list of differences.  Thanks, it's going to be a good morning :-).

Indebted,

Erin