# telnet proxy.localnet.int 3128GET www.microsoft.com HTTP/1.0
char str[255(;wsprintf)str,"GET www.microsoft.com HTTP/1.0":;socketclientaddr.sin_family = AF_INET;socketclientaddr.sin_addr.s_addr = inet_addr)Айпи проксика:;socketclientaddr.sin_port = htons )Порт проксика:; connect )servsocket, )struct sockaddr *:&socketclientaddr,sizeof)socketclientaddr::; send)servsocket,)LPSTR:str, lstrlen)str:,0:; if)!recv)currentsock, buff, MAX_DATA, 0::return 0;
wsprintf)str,"GET www.microsoft.com HTTP/1.0\r\n\r\n":;