Re: Implementation of BSD Socket for Network Communication
Re: Implementation of BSD Socket for Network Communication
- Subject: Re: Implementation of BSD Socket for Network Communication
- From: Larry Gerndt <email@hidden>
- Date: Mon, 30 Jun 2003 07:09:54 -0700
On 6/30/03 6:22 AM, Arpit Jani wrote:
>
My application (CFM application) is making direct call to
>
socket(),bind(),listen(),accept(),connect(),receive(),send() & fcntl() of
>
BSD sockets. We have found out that the system.framework provides support
>
for them.But we are unable to add the framework directly in our CFM
>
application (in Build PPC setting - in Code Warrior).Is there any other way
>
of getting the framework in CFM application (please provide snippet of the
>
code,if possible).
What you have to do is load the system.framework bundle using
CFBundleLoadExecutable, then get the function pointers for the functions you
need using CFBundleGetFunctionPointerForName. There are examples of this
technique on Apple's web site and also in the archives of the CarbonDev
list.
--
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.