2013-10-21から1日間の記事一覧
何も見ずにserverをどこまで書けるか練習してみたら #include #include #include #include #include< int server_socket(const char *portnm){ int sockfd,errcode; struct addrinfo hints,*res0; char hbuf[NI_MAXHOST],sbuf[NI_MAXSERV]; (void)memset(&hi…
何も見ずにserverをどこまで書けるか練習してみたら #include #include #include #include #include< int server_socket(const char *portnm){ int sockfd,errcode; struct addrinfo hints,*res0; char hbuf[NI_MAXHOST],sbuf[NI_MAXSERV]; (void)memset(&hi…