VB6 - Windows 10
I can set up the Winsock control to receive incoming connections from a web browser when the my IP and Port that I've opened is entered into the address bar. My program can see what is being requested (i.e.; "http://555.555.555.555:22332/request". The problem is that I can't seem to get Winsock to send a message.
I've tried
andCode:Winsock(index).SendData "Hello"
but the browser only comes back withCode:Winsock(index).SendData "<html>Hello</html>"
555.555.555.555 sent an invalid response.
ERR_INVALID_HTTP_RESPONSE
Any help here would be greatly appreciate. Thanks!




Reply With Quote
