h4ckm310n / S5W2C

An Android Socks5 proxy server, receiving packets through WiFi and forwarding through mobile data
22 stars 10 forks source link

NIO Socket #14

Open h4ckm310n opened 4 months ago

h4ckm310n commented 4 months ago

S5W2C uses BIO sockets for client and server sides, consider using NIO instead.

However, for client side, I haven't found a solution to use NIO yet. A socket needs to be created via Network.socketFactory.createSocket(), so that it can use cellular network instead of WiFi.