![]() |
|
[Python] Using HTTP instead of raw sockets - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Using HTTP instead of raw sockets (/showthread.php?tid=6097434) |
Using HTTP instead of raw sockets - xPrimody - Jul 24, 2020 Hey, I am currently using raw sockets to send custom data between server and client. I am wanting to switch it up to HTTP/HTTPS so that it looks more normal. Does anyone have any good guides on this? RE: Using HTTP instead of raw sockets - tux1 - Jul 24, 2020 I suggest looking at the requests library, it's very good for HTTP RE: Using HTTP instead of raw sockets - Natecat33 - Jul 27, 2020 For your server you could use flask RE: Using HTTP instead of raw sockets - Pernat1y - Jul 27, 2020 https://docs.python.org/3/library/http.html Or use something like Tornado framework. It have both client and server. |