I have written a simple jNetwork server to handle TCP clients.
If I have a number of Clients connected, I need to be able to Write to a specific Client's IP and Port.
I have looked at:
How do I obtain the Client Port?
How do I Write to a specific Client?
In VB6, I would "server.Send(host, message)" where host is the Client IP & Port
If I have a number of Clients connected, I need to be able to Write to a specific Client's IP and Port.
I have looked at:
This is mentioned:
I am able to obtain the Client IP address with "RemoteAddress", but not the Client Port.Each connection is identified by <server port, client ip address, client port>.
How do I obtain the Client Port?
How do I Write to a specific Client?
In VB6, I would "server.Send(host, message)" where host is the Client IP & Port