代码搜索:AF_INET

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

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

lc tcpcli01.lc

#include "unp.h"## 1 ##src/tcpcliserv/tcpcli01.c## int## 2 ##src/tcpcliserv/tcpcli01.c## main(int argc, char **argv)## 3 ##src/tcpcliserv/tcpcli01.c## {## 4 ##src/tcpcliserv/tcpcli01.c## i
www.eeworm.com/read/208758/15237771

c tcpserv01.c

#include "unp.h" int main(int argc, char **argv) { int listenfd, connfd; pid_t childpid; socklen_t clilen; struct sockaddr_in cliaddr, servaddr; listenfd = Socket(AF_INET, SOCK_STREAM,
www.eeworm.com/read/160303/5572588

c getnameinfo.c

/* * Portions Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") * Portions Copyright (C) 1999-2001, 2003 Internet Software Consortium. * * Permission to use, copy, modify, and distrib
www.eeworm.com/read/476073/6773321

c client.c

#include #include #include #include #include #include #include #include int main(int argc , char *argv[])
www.eeworm.com/read/473571/6846511

c portscan.c

/* this has been tested already, it works... * * feed the ascii ip address and port number, and return true * or false if the port is open or closed.... * */ #include #include
www.eeworm.com/read/471319/6889853

cpp tcpclient.cpp

////////////////////////////////////////////////////////// // TCPClient.cpp文件 #include "../common/InitSock.h" #include CInitSock initSock; // 初始化Winsock库 int main() { // 创建套节字
www.eeworm.com/read/192997/8258641

c socketutils.c

#include #include // per bzero #include // per gethostbyname #include // per inet_ntop
www.eeworm.com/read/170916/9779725

c qqser.c

/**************************************************************** ** 程序名称: qq.c (QQ宝贝,unix下的客户机程序) ** ** 作者 : 关辉 ** ** 版本 : 1.0
www.eeworm.com/read/269516/11096108

c log.c

/******************************************************************** * * File: log.c * * Description: * Log functionality. * * Revisions: * 04-may-01 J.H and S.J.M
www.eeworm.com/read/269397/11099297

h mysocket.h

//MySocket.h #ifndef MySocket_h #define MySocket_h #include #include #include //==================== MyConnect ==================== class MyConnect { public