#include "stdafx.h"
#include winsock2.h
#include windows.h
//#include stdio.h
#include stdlib.h
#include fstream.h
DWORD WINAPI ClientThread(LPVOID lpParam);
int main(int argc, char* argv[])
{
if (argc!=2)
{
printf("using: listen [your ip address]for example: listen 202.112.246.2");
return 0;
}
WORD wVersionRequested;
DWORD ret;
WSADATA wsaData;
BOOL val;
SOCKADDR_IN saddr;
SOCKADDR_IN scaddr;
int err;
SOCKET...[ 查看全文 ]