Re: [2008] sockets question
Are you absolutely sure that the HTTP request you sent was valid? The first thing that comes to mind is if you havent properly ended the request with 2 newlines, so the server is expecting more data from you before it begins sending a response. Could you show the snippet of code you're using to send/receive HTTP data?
Re: [2008] sockets question
it's some long code....it's actually coding for an http proxy i've been working on, whereby the download manager sends the request to my program and my program sends the request to the internet server...
my program validates the request and logs it before sending so i know the requests are valid
it's not the new lines at the end because i put in
Do Until requestHeader.Contains(vbCrLf & vbCrLf)
requestHeader = requestHeader & vbCrLf
Loop
and it's not the requests because like i said i log them they're clean...
also my program works 80% of the time but when it doesn't it just won't work for an hour or so....
could be my internet connection, but then again i've had other users complain of the problem too and also my internet is still working when this happens so i'm very much at loss :S
Re: [2008] sockets question
Well if you're 100% sure that the requests are valid, and you cant show any code nor an example request from when you dont get any response, I'm afraid theres not much I can help you with :(
Re: [2008] sockets question
i've looked at my code again and again it's practically flawless...
i even ran http analyzer to make sure my program is connecting and sending the requests to the right server address and the right port (80) and it is...
i will try changing socketflags coz i've never used them before maybe i should look into them...
if that doesnt work i will try asyncrecieve....