winsock
VB6 winsock wait for response
I am using the winsock control in vb6 to check the availability of a web service. I do a post request, get the response and parse the response header to check the response code.[详细]
2023-04-04 21:26 分类:问答Can't assign requested address, C++ UDP sockets
The following code is from http://digitalpbk.blogspot.com/2007/10/unix-networking-sockets-udp-transmitter.html, It runs fine on localhost but when I change it to my ip it gives the error[详细]
2023-04-04 17:07 分类:问答retrieving ip and port from a sockaddr_storage
I\'ve got a sockaddr_storage containing the ipv4 address and port of a remote host. I haven\'t seen these structs before though and I\'m not sure how to cast it into a struct where I can directly retr[详细]
2023-04-03 19:07 分类:问答Winsock: Overlapped AcceptEx indicates a new connection while no client connecting
In my program I am using the overlapped version of AcceptEx() to accept new connections. After a new connection has been accepted, the programm initiates another overlapped call to AcceptEx() for acce[详细]
2023-04-03 11:27 分类:问答Winsock error 40009 vb6
Winsock1.Connect \"mail.website.com\", 110 Do Until received: DoEvents: Loop If sckEr开发者_运维技巧ror Then MsgBox \"An error occured trying to connect to server\": Exit Sub[详细]
2023-04-03 11:07 分类:问答Socket Programming C/C++ - recv function hangs in Server
I am having problem in usage of recv function I have an application that send some data from client, these data are received by the server & send a responses based on data.[详细]
2023-04-03 09:20 分类:问答How to detect connection closed by localhost?
I have write a TCP client and server in C. These software run on the same computer ONLY. 1) My TCP client send a command to the server (localhost).[详细]
2023-04-03 03:30 分类:问答how to know the TCP buffer size dynamically
Is it possible to know the TCP buffer size dynamically on windows.I set the TCP buffer size using SO_SNDBUF,SO_RECVBUF and also can check its allocated buffer size using getsockopt(). But I wanted to[详细]
2023-04-01 17:58 分类:问答Winsock server unable to connect
I\'ve written (rather, copied from a tutorial :P) a winsock server, in c++ which waits for the client to send a message and then closes. The server works when both the client and the server are on my[详细]
2023-04-01 17:12 分类:问答Strange connection time-out using winsock
I\'ve been stuck debugging my custom downloader all morning now and I finally know where it goes wrong but I don\'t know why.[详细]
2023-04-01 12:40 分类:问答