Zap!
11-19-2002, 12:21 PM
I need a bit of help with explanation with the java.net package. I have been doing a good amount of reading about it with the two books that I have on Java, but I just wanted to verify what I am currently assuming is correct. Here's what I figured.
A server picks the port number. A client can connect to that port, creating a data stream to communicate through.
Now, I guess that I can open up multiple connections through the same port, right? And how would I go about this?
I would like to make it so that I can make multiple clients connect to my server running atop of my MySQL server. Or, would it be easier/better/possible to just let the clients connect directly to the MySQL server though a network?
A server picks the port number. A client can connect to that port, creating a data stream to communicate through.
Now, I guess that I can open up multiple connections through the same port, right? And how would I go about this?
I would like to make it so that I can make multiple clients connect to my server running atop of my MySQL server. Or, would it be easier/better/possible to just let the clients connect directly to the MySQL server though a network?