topics

全部话题 - 话题: wsadata
(共0页)
t***i
发帖数: 40
1
来自主题: Programming版 - winsock error 10053
Hi;
I tried to created a simple http client program to see why it gave me error
10053. 10053 is a winsock error with the description "Software caused
connection abort." Basically I created a socket and connected to www.google.
com and every couple of seconds sent the same request. It worked several
minutes then came up error 10053. The following is the code. Any suggestions
are greatly appreciated!
WSADATA wsaData;
int wsaret=WSAStartup(0x101,&wsaData);
if(wsaret)
exit(1);
SOCKET sock;
so
(共0页)