Well, https://github.com/processing/processing/blob/master/java/libraries/net/src/processing/net/Client.java uses both Thread and Socket, from what I see at the top of the source... Looks like a good starting point for tweaking / hacking!
↧