Hi, in kernel space you can't use socket(), the correct one is sock_create(). Refer to the kernel source /net/socket.c, it contains most functions that you need in kernel space. eg sendmsg(), ... The following is a good doc to start things off. :-) http://kernelnewbies.org/documents/ipnetworking/linuxipnetworking.html Don Lee >>> Anil Kumar <kernelmack@yahoo.com> 10/12/01 10:38AM >>> hi, I am interested in making socket connections between two computers from inside the kernel . I think I can't use the socket() system call. Any pointers to how to do it and the feasibiliy. Thanks in advance. Anil __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/ - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/