Hi All
I am trying to develop client/server application using nonblocking nio, i have found example in the book "TCP/IP Sockets in
Java Practical Guide for Programmers
Second Edition Kenneth L. Calvert - University of Kentucky Michael J. Donahoo - Baylor University "
the code as the following:
TCPEchoClient.java
TCPServerSelector.java
TCPProtocol.java
EchoSelectorProtocol.java
the example working fine , as the following
1)I have started running the server application "TCPServerSelector.java"
2)I have run 2 clients using the application "TCPEchoClient.java"
as i know that the The client initiates communication with a server
but sometimes want to send a message from server to a particular client or we want to check whether xyz client is one of active client connected to the server or not
so how i do achieve that in the above examples