代码搜索:AF_INET

找到约 1,347 项符合「AF_INET」的源代码

代码结果 1,347
www.eeworm.com/read/208758/15237769

c tcpcli09.c

#include "unp.h" int main(int argc, char **argv) { int sockfd; struct sockaddr_in servaddr; if (argc != 2) err_quit("usage: tcpcli "); sockfd = Socket(AF_INET, SOCK_STREAM, 0);
www.eeworm.com/read/208758/15237777

c tcpcli04.c

#include "unp.h" int main(int argc, char **argv) { int i, sockfd[5]; struct sockaddr_in servaddr; if (argc != 2) err_quit("usage: tcpcli "); for (i = 0; i < 5; i++) { sockfd[
www.eeworm.com/read/208757/15237796

c tpi_daytime.c

#include "tpi_daytime.h" int main(int argc, char **argv) { int fd, n; char recvline[MAXLINE + 1]; struct sockaddr_in myaddr, servaddr; if (argc != 2) err_quit("usage: tpi_daytime
www.eeworm.com/read/395687/8160301

c win32_udp_svr.c

#include #include
www.eeworm.com/read/393723/8268585

c lab3-2-server.c

#include #include #include #include #include #define PORT 2345 main() { int sockfd, len; struct sockaddr_in addr; int addr_len
www.eeworm.com/read/392732/8328564

c server.c

#include #include #include #define SIZE 8192 #define PORT_NO 12345 int main(void) { int admin_sock, data_sock; struct sockaddr_in name;
www.eeworm.com/read/173467/9656064

c lookup.c

/* lookup.c: * * Example of gethostbyname(3) : */ #include #include #include #include #include #include #include
www.eeworm.com/read/173467/9656068

c lookup2.c

/* lookup.c: * * Example of gethostbyname(3), * using sethostent(3) : */ #include #include #include #include #include #include
www.eeworm.com/read/173467/9656109

c bind.c

/* bind.c: * * Demonstrating the bind(2) function * by establishing a Specific AF_INET * Socket Address: */ #include #include #include #include #include
www.eeworm.com/read/173467/9656117

c~ bind.c~

/* bind.c: * * Demonstrating the bind(2) function * by establishing a Specific AF_INET * Socket Address: */ #include #include #include #include #include