Hi: Note I haven't read all this thread yet so you might have heard this already. OK, 2 seperate problems here. If you'd done man getsockname man getpeername man listen You would have noticed that they're all in sys/socket.h or, more accurately, /usr/include/sys/sock.h. And now girls and boys, a neat debian trick. If you type: dpkg --search /usr/include/sys/socket.h you will discover that this file lives in the libc6-dev package. This is a pretty crucial package if you want to compile stuff under debian. The other one about /usr/src/linux/<whatever> can be solved by grabbing a linux kernel source and dumping it there. Geoff. -- Geoff Shang <gshang10 at scu.edu.au> ICQ number 43634701