Re: [Plib-devel] netScoket patch for Mac OS X
Brought to you by:
sjbaker
From: Tatsuhiro N. <tat...@gm...> - 2008-11-09 16:57:36
|
Hi, I need to post another patch on this. I've recently made a fresh build of PLIB, having a compilation error. Here is another patch to fix this problem. netSocket.h needs to include <netinet/in.h>, not netSocket.cpp. Best, Tat On Jul 9, 2008, at 4:51 AM, Fay John F Dr CTR USAF 46 SK wrote: > Let me see what I can do in the next day or two. > > > -----Original Message----- > Hi there, > > Ever since Mac OS X 10.5.2, netSocket.h/cxx have got compilation errors > due to changes in sockaddr_in. > Thus I made a very simple patch to avoid this problem (I guess Apple cut > out the backward compatibility of sockaddr_in, but not so sure on this). > > Though I think netSocket should encapsulate the sockaddr_in in smarter > way like having sockaddr_in inside netSocket class, I didn't try that > because of my lack of time. > > Anyway, please apply this patch to svn. > I believe this patch won't affect any other platforms but feedbacks from > other platforms are very welcome. > PLIB with this patch also works on Mac OS 10.5.1 or earlier including > 10.4.x. > > Best Regards, > > Tat |