View Single Post
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 06-21-2015 , 13:57   Re: Socket: 301 Moved Permanently
Reply With Quote #7

Since you are just starting sockets, its better to stick to simple HTTP sites like for example www.example.com.

Working with HTTPS is quite trouble some. Running curl on forums.alliedmods.net (HTTP: 80) gave me follow console output of headers and the page in test.txt.

cmdLog


test.txt

From CmdLog you can see how a request is made by curl, the '>'s, (how you have to make with sockets) and what are the responses received by curl, the '<'s, and what its doing with that response.
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here
Shooting King is offline