Hariharan L Thantry wrote: >Hi Wataru, > >Your page was very helpful. But could you tell me why under sys/socket.h >(which I assume is /usr/include/sys/socket.h) the socket call is declared >as "extern int socket__P(,,)". Where is this function defined? Hi Hari, I've also tried to identify the code, but libc6 source tree is too complex for me and gave up tracing. So, I made a statically linked test program, and dumped the socket() code. To simplify the source trees and reduce the code size, I'm going to write a simple system call wrapper functions which substitute for glibc-2.0 socket(), ioctl(), and so on. >I have bookmarked your page...it is really useful. Thanks I'm trying to expand the page. Wataru - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu