代码搜索:AF_INET

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

代码结果 1,347
www.eeworm.com/read/408584/11381854

c sockopt.c

#include "unp.h" #include /* for TCP_MAXSEG value */ int main(int argc, char **argv) { int sockfd, mss, sendbuff; socklen_t optlen; sockfd = Socket(AF_INET, SOCK_STREAM, 0);
www.eeworm.com/read/129891/14218851

c mcast_set_if.c

#include "unp.h" #include int mcast_set_if(int sockfd, const char *ifname, u_int ifindex) { switch (sockfd_to_family(sockfd)) { case AF_INET: { struct in_addr inaddr; struct ifreq
www.eeworm.com/read/129891/14219346

c test1.c

#include "unp.h" #include int main(int argc, char **argv) { int i, sockfd, numif; char buf[1024]; sockfd = Socket(AF_INET, SOCK_DGRAM, 0); numif = 999; Ioctl(sockfd, SIOCGIFNUM, &n
www.eeworm.com/read/129891/14219898

c sockopt.c

#include "unp.h" #include /* for TCP_MAXSEG value */ int main(int argc, char **argv) { int sockfd, mss, sendbuff; socklen_t optlen; sockfd = Socket(AF_INET, SOCK_STREAM, 0);
www.eeworm.com/read/113943/15120261

c test1.c

#include "unp.h" #include int main(int argc, char **argv) { int i, sockfd, numif; char buf[1024]; sockfd = Socket(AF_INET, SOCK_DGRAM, 0); numif = 999; Ioctl(sockfd, SIOCGIFNUM, &n
www.eeworm.com/read/246537/4493552

c mcast_set_if.c

#include "unp.h" #include int mcast_set_if(int sockfd, const char *ifname, u_int ifindex) { switch (sockfd_to_family(sockfd)) { case AF_INET: { struct in_addr inaddr; struct ifreq
www.eeworm.com/read/246537/4493554

c mcast_set_loop.c

/* include mcast_set_loop */ #include "unp.h" int mcast_set_loop(int sockfd, int onoff) { switch (sockfd_to_family(sockfd)) { case AF_INET: { u_char flag; flag = onoff; return(setsockopt(so
www.eeworm.com/read/246537/4493813

c test1.c

#include "unp.h" #include int main(int argc, char **argv) { int i, sockfd, numif; char buf[1024]; sockfd = Socket(AF_INET, SOCK_DGRAM, 0); numif = 999; Ioctl(sockfd, SIOCGIFNUM, &n
www.eeworm.com/read/246537/4494117

c sockopt.c

#include "unp.h" #include /* for TCP_MAXSEG value */ int main(int argc, char **argv) { int sockfd, mss, sendbuff; socklen_t optlen; sockfd = Socket(AF_INET, SOCK_STREAM, 0);
www.eeworm.com/read/290808/3970778

c mcast_set_if.c

#include "unp.h" #include int mcast_set_if(int sockfd, const char *ifname, u_int ifindex) { switch (sockfd_to_family(sockfd)) { case AF_INET: { struct in_addr inaddr; struct ifreq