Re: sockets in Powerplant?
Re: sockets in Powerplant?
- Subject: Re: sockets in Powerplant?
- From: Larry Gerndt <email@hidden>
- Date: Fri, 07 Nov 2003 10:27:54 -0800
>
I made a new Mach-O target, and a new "glue" file to native sockets,
>
which would include <sys/socket.h>. Turned out, I needed to include
>
<netdb.h>, which then gave duplicate definitions errors with MSL. OK,
>
tried to get rid of MSL - bummer.
>
PowerPlant needs the MSL <exceptions>.
>
Does anyone have a (patched) PowerPlant which doesn't need MSL anymore?
>
Or how can a PowerPlant app use sockets?
CW9 solves the problem. In CW9 there are example projects in a folder
called "Mach-O BSD C Stationery" which is exactly what you want. These will
work great for you. In CW8, I was forced to avoid including the BSD headers
becasuse of the same problems you were having. So I rolled my own
"SocketDefs.h" header and used that. And imported all the BSD functions as
function pointers. In CW9 I got rid of all that.
--
Larry Gerndt
AIM Handle: SonOfTheSonOfMan
Let the truth be told though the heavens fall -- James Garrison
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.