I'm am wanting to create a socket server that assigns which ports the server
sends the customers data. Such as, I get a socket connection from someone,
I look at the IP address and from that I decide which port to send them data.
Using myServerSocket.accept(), I get a random port. I believe that I need
to get the socket from the accept call so I can tell who it is, then reassign
the port and start sending them data.
I've been looking at ServerSocket, Socket, SocketImpl, and the interface
SocketImplFactory. Am I on the right track, or could someone point me in
the right direction.
Thanks for any help.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center