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.
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.