摘要:
实现: int s, con; struct sockaddr_in cliaddr, servaddr; if ( argc != 3 ) { printf( "uasage: httpd <IPaddress> <Port>"); exit( 0 ); } s = socket(AF_INET, SOCK_STREAM, 0); bzero(&servaddr, sizeof(servaddr)); servaddr.sin_family = AF_INET; inet_pton( AF_INET, argv[1], &(serv 阅读全文
posted @ 2011-05-12 22:14
lxgeek
阅读(3191)
评论(0)
推荐(0)
摘要:
In many situations when designing statistical software, the number of variables a dis-crete distribution will have is not known in advance (at compilation time). There existsa need to generate discrete multidimensional distributions on the fly.Multi-way arraysOne obvious way to store these multidime 阅读全文
posted @ 2011-05-12 09:40
lxgeek
阅读(348)
评论(0)
推荐(0)