Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everyone, I am new to system calls and socket. My question is when I try to trace the socket inside the kernel I see sys_socket. How socket function inside ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    1

    socket system calls


    Hi everyone,
    I am new to system calls and socket. My question is when I try to trace the socket inside the kernel I see sys_socket. How socket function inside a c programme is being resolved into sys_socket. I've tried to google it but I couldn't find any information about it.
    I am using ubuntu 10.04 and downloaded kernel 2.6.32 source code from kernel.org

    Thanks
    Safajnaseef

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,574
    It is a system call made from the code of socket(). You need to get the source for the sockets library to see how that works.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •