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.
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
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
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
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
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.
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).
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
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
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.