Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with connection



Please don't cross-post.

On Wednesday, January 7, 2004, at 10:50 PM, nandkumar l mane wrote:

How to accept connection from client in kernel mode using socket
programming?

The kernel implementation of the socket calls is contained in the files
xnu/bsd/kern/{kern_socket.c,kern_socket2.c}

If you are going to use these calls, you should be familiar with the implementation, since the requirements are much different than the corresponding user-mode socket calls.

Generally, a socket API like 'foo(...)' is called 'sofoo()' in the kernel. The argument list is significantly different, however.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | If you're not confused,
| You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.