strcpy(head,"GET /?somelink"); strcat(head," HTTP/1.1\r\n"); strcat(head,"Host: somesite.info\r\n\r\n"); printf("%s",head); send(s,head,strlen(head),0); memset(head,NULL,1024*4); // recv(s,head,1024*4,0); printf("%s",head); getch();