I know how to create a new socket with Java and how to use it... but is there a way to manipulate sockets that already exist? How do you detect them and how do you craft them into usable java objects? For example, say I am running an online game that establishes a socket with a remote server. Is there a way that I can take that already-existing socket and use it in my java program? If anyone knows, I would be very thankful for your help.