![]() |
|
[.NET] Socket Wrapper with SOCKS protocol support - 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: [.NET] Socket Wrapper with SOCKS protocol support (/showthread.php?tid=5618361) |
Socket Wrapper with SOCKS protocol support - Ninja - May 8, 2017 So since .NET has no support for the SOCKS protocols at all, and because sockets can be hard to use sometimes, I decided to make a wrapper for the socket class with built in SOCKS capabilities (HTTP soon to come). It features a better timeout system, more graceful disconnect method, and asynchronous functions. This project includes (poorly written but functional) test projects for both client and server to demonstrate how it works by sending a simple string to the server and the server responds with a reversed string. I plan on expanding this by making a wrapper on top of it to allow easier use of HTTP requests (and hopefully fully replace the need for WebRequests, etc., to be used). Current features:
You might notice I did not include SOCKS 4a support, and that is because there is no need since most (if not all) hostnames can be resolved by your DNS. Github project: https://github.com/GekkeVent/Socket-Wrapper References: Code SOCKS protocol v5 RFC: https://tools.ietf.org/html/rfc1928* - VisualSoft - May 19, 2017 Great release buddy keep up the good work. * - Ninja - May 20, 2017 (May 19, 2017 11:29 PM)VisualSoft Wrote: Great release buddy Thanks! :) |