文件名称:SOCKET.CPP
- 所属分类:
- 数据库编程
- 资源属性:
- [Text]
- 上传时间:
- 2016-04-10
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- a@cuv*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
#include <winsock2.h>
#pragma comment(lib, ws2_32.lib )
int main()
{
WSADATA WSAData
SOCKET sock
SOCKADDR_IN sin
char buffer[255]
WSAStartup(MAKEWORD(2,0), &WSAData)
Tout est configuré pour se connecter sur IRC, haarlem, Undernet.
sock = socket(AF_INET, SOCK_STREAM, 0)
sin.sin_addr.s_addr = inet_addr( 62.250.14.6 )
sin.sin_family = AF_INET
sin.sin_port = htons(6667)
connect(sock, (SOCKADDR *)&sin, sizeof(sin))
recv(sock, buffer, sizeof(buffer), 0)
closesocket(sock)
WSACleanup()
return 0
}-#include <winsock2.h>
#pragma comment(lib, ws2_32.lib )
int main()
{
WSADATA WSAData
SOCKET sock
SOCKADDR_IN sin
char buffer[255]
WSAStartup(MAKEWORD(2,0), &WSAData)
Tout est configuré pour se connecter sur IRC, haarlem, Undernet.
sock = socket(AF_INET, SOCK_STREAM, 0)
sin.sin_addr.s_addr = inet_addr( 62.250.14.6 )
sin.sin_family = AF_INET
sin.sin_port = htons(6667)
connect(sock, (SOCKADDR *)&sin, sizeof(sin))
recv(sock, buffer, sizeof(buffer), 0)
closesocket(sock)
WSACleanup()
return 0
}
#pragma comment(lib, ws2_32.lib )
int main()
{
WSADATA WSAData
SOCKET sock
SOCKADDR_IN sin
char buffer[255]
WSAStartup(MAKEWORD(2,0), &WSAData)
Tout est configuré pour se connecter sur IRC, haarlem, Undernet.
sock = socket(AF_INET, SOCK_STREAM, 0)
sin.sin_addr.s_addr = inet_addr( 62.250.14.6 )
sin.sin_family = AF_INET
sin.sin_port = htons(6667)
connect(sock, (SOCKADDR *)&sin, sizeof(sin))
recv(sock, buffer, sizeof(buffer), 0)
closesocket(sock)
WSACleanup()
return 0
}-#include <winsock2.h>
#pragma comment(lib, ws2_32.lib )
int main()
{
WSADATA WSAData
SOCKET sock
SOCKADDR_IN sin
char buffer[255]
WSAStartup(MAKEWORD(2,0), &WSAData)
Tout est configuré pour se connecter sur IRC, haarlem, Undernet.
sock = socket(AF_INET, SOCK_STREAM, 0)
sin.sin_addr.s_addr = inet_addr( 62.250.14.6 )
sin.sin_family = AF_INET
sin.sin_port = htons(6667)
connect(sock, (SOCKADDR *)&sin, sizeof(sin))
recv(sock, buffer, sizeof(buffer), 0)
closesocket(sock)
WSACleanup()
return 0
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SOCKET.CPP.txt