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

Re: [MacPerl] Unix socket incompatibility?



This is absolutely correct.  I ported sirc, a small IRC client,
to the Mac a while ago, and had to keep this in mind for the 
DCC chat connection.  The clients wouldn't communicate to each
other.

Come to think of it, i'll peer into the macsirc (runs under macperl)
code and see if i can pare down a socket example for us...

kevin
lenzo@cs.cmu.edu

> 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.

> schinder@pjstoaster.pg.md.us