Linux GCC 4.4.2
I am doing some socket programming.
However, I keep getting this error when I try and assign the sockfd from the socket function.
" Socket operation on non-socket"
i m trying to write ftp server on linux. in this matter how can i list files in the directory on terminal by c program. maybe i can use exec function ...