代码搜索:AF_INET

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

代码结果 1,347
www.eeworm.com/read/186080/8960967

c lookup2.c

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

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/186080/8961083

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/186080/8961103

c af_inet.c

/* af_inet.c: * * Establishing a Specific AF_INET * Socket Address: */ #include #include #include #include #include #include #in
www.eeworm.com/read/373386/9457918

c sendto.c

#include #include #include #include #include #include #include #define PORT 2345 /*使用的port*/ main(){ int sockfd
www.eeworm.com/read/372974/9483549

cpp send.cpp

#include #include #include #include #include #include #pragma comment(lib,"ws2_32.lib") main() { SOCKET s; sockaddr_in addr
www.eeworm.com/read/163761/10147050

c tcpcli08.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/163761/10147051

c tcpcli01.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/163761/10147053

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/163761/10147061

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[