搜索资源列表
tcp-ipayixidailv
- 一个简单的TCP客户端程序流程 1、使用WSAStartup()初始化WinSock库。 2、使用socket()创建一个IPPROTO_TCP SOCKET。 3、使用gethostbyname()/gethostbyaddr()获取主机信息。 4、使用connect()和我们创建的套接字连接服务器。 5、使用send()/recv()发送和接收数据,直到我们的TCP会话结束。 6、使用closesocket(
GetIPAddress
- 该实例通过Winsock函数gethostname,gethostbyname和gethostbyaddr获得主机IP和主机名-example through the Winsock function gethostname. gethostbyname and gethostbyaddr was host IP and hostname
hostlab
- find the information about a host with the DNS retrieving system calls, such as gethostbyname() and gethostbyaddr(). (2) All the required information are in the hostent structure. (3) All the aliases and IP add
一个判断远程主机存活程序代码
- 一个判断远程主机存活程序代码(ping) #include #include #include #include #include "winsock.h" #pragma comment(lib,"Ws2_32"); #define SEND_SIZE 32 #define PACKET_SIZE 4096 #define ICMP_ECHO 8 #define ICMP
实例70
- WINSOCK程序设计共分为客户端和服务器端程序两部分,要求实现功能:服务器端要能监听客户端连接请求,为客户端的连接请求建立SOCKET队列,处理各个客户端发送的数据,并向响应客户端发送应答信息,更新服务器端的端口号。-Winsock program design consists of client and server-side procedures in two parts, requires the function : ser
tcp-ipayixidailv
- 一个简单的TCP客户端程序流程 1、使用WSAStartup()初始化WinSock库。 2、使用socket()创建一个IPPROTO_TCP SOCKET。 3、使用gethostbyname()/gethostbyaddr()获取主机信息。 4、使用connect()和我们创建的套接字连接服务器。 5、使用send()/recv()发送和接收数据,直到我们的TCP会话结束。 6、使用closesocket(
GetIPAddress
- 该实例通过Winsock函数gethostname,gethostbyname和gethostbyaddr获得主机IP和主机名-example through the Winsock function gethostname. gethostbyname and gethostbyaddr was host IP and hostname
hostlab
- find the information about a host with the DNS retrieving system calls, such as gethostbyname() and gethostbyaddr(). (2) All the required information are in the hostent structure. (3) All the aliases and IP add
Delphi-by-IP-address.Rar
- h := gethostbyaddr(@addr.sin_addr.s_addr, sizeof(addr), AF_INET) - h := gethostbyaddr(@addr.sin_addr.s_addr, sizeof(addr), AF_INET)
httppc-0.8.5.tar
- linux下穿代理的socket程序.HTTP Proxy Client is the small set of libraries and scr ipts, which provides transparent access to Internet via HTTP proxy for programs, which uses TCP/IP for communication. The list of pro
gethostbyaddr
- Linux 下C语言写的获取主机IP地址的源码-Linux written in C language source code for the host IP address
q.6
- gethostbyaddr s socket programming program
Advanced-Socket-Programs-SCTP-Setsock-thread-safe
- This document contains all easy-to-get and simple tcp/ip socket programs. like thread safe version of gethostbyaddr, sctp programs, ping c code, setsockopt&getsockopt programs