搜索资源列表
tcp-ipayixidailv
- 一个简单的TCP客户端程序流程 1、使用WSAStartup()初始化WinSock库。 2、使用socket()创建一个IPPROTO_TCP SOCKET。 3、使用gethostbyname()/gethostbyaddr()获取主机信息。 4、使用connect()和我们创建的套接字连接服务器。 5、使用send()/recv()发送和接收数据,直到我们的TCP会话结束。 6、使用closesocket()关闭套接字连接。 7、使用WSACleanup()释放
GetHostByName
- Returns IP address of the server from the host name.
gethostbyname
- coded under vb6, with this app u can get the ip adress of any web site just by typing the website adress: ex: www.website.com --returns--> 79.25.15.68
