¡@

Home 

c++ Programming Glossary: new_fd

substitute for fork()ing? in windows

http://stackoverflow.com/questions/4243880/substitute-for-forking-in-windows

close sockfd child doesn't need the listener if send new_fd Hello world 13 0 1 perror send close new_fd exit 0 I'm on.. if send new_fd Hello world 13 0 1 perror send close new_fd exit 0 I'm on a windows machine and cant get that part working... cout WSAStartup initialized... endl int status int sockfd new_fd const char yes '1' struct addrinfo hints res loop_find struct..

Is this a legitimate C++ code? [closed]

http://stackoverflow.com/questions/4372062/is-this-a-legitimate-c-code

struct sockaddr_in6 sa sin6_addr int main void int sockfd new_fd listen on sock_fd new connection on new_fd struct addrinfo hints.. void int sockfd new_fd listen on sock_fd new connection on new_fd struct addrinfo hints servinfo p struct sockaddr_storage their_addr.. n while 1 main accept loop sin_size sizeof their_addr new_fd accept sockfd struct sockaddr their_addr sin_size if new_fd..