[Plib-devel] netScoket patch for Mac OS X
Brought to you by:
sjbaker
From: Tatsuhiro N. <tat...@gm...> - 2008-06-29 15:58:07
|
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 |