Hi
I am facing problem for following situation,
my client is in perl and server is in
Java.
the client sends us-ascii encoded data and server reads it and processes it.
the server used selector based multiplexing for doing the job.
it is as follow.
forever
selector.select()
some channel is interested so get channel
if channel is acceptable
accept it and register it with selector with
read/write operations
if channel is readable
read it into byte buffer
if channel is writable
write a bytebuffer into it
end forever
now my perl client just tries to open a Socket and send data. It does not try to receive anything. My server accpets connection, reads data and also tries to write data on channel.
how is it possible as perl client does not try to read from the socket.
can anyone please make it clear?
thanks in advance.