Exception:
Command not supported
at net.sourceforge.jsocks.socks.Socks5Message.read(Socks5Message.java:162)
at net.sourceforge.jsocks.socks.Socks5Message.<init>(Socks5Message.java:123)
at net.sourceforge.jsocks.socks.Socks5Message.<init>(Socks5Message.java:108)
at net.sourceforge.jsocks.socks.Socks5Proxy.formMessage(Socks5Proxy.java:245)
at net.sourceforge.jsocks.socks.Proxy.exchange(Proxy.java:446)
at net.sourceforge.jsocks.socks.Proxy.udpAssociate(Proxy.java:385)
at net.sourceforge.jsocks.socks.Socks5DatagramSocket.<init>(Socks5DatagramSocket.java:110)
at net.sourceforge.jsocks.socks.Socks5DatagramSocket.<init>(Socks5DatagramSocket.java:54)
...
Code where error is occurring:
try(Socks5DatagramSocket socket = new Socks5DatagramSocket())/* error here */ ...
I am using jsocks only for the ability to send UDP data over a proxy, if there are any better alternatives I am also open.