I'm trying to do a little test. A simple client that connect to a server
and send data.. I try to connect to a server that isn't up.. and I didn't
receive a exception.. the program continue like everything is fine..
try {
f_controller = new Controller();
f_tcpConnectorHandler = new TCPConnectorHandler();
f_tcpConnectorHandler.connect(new InetSocketAddress("localhost",
7803));
.....
log4j:WARN No appenders could be found for logger
(com.gfbn.quotegw.client.QuoteClientGrizzly).
log4j:WARN Please initialize the log4j system properly.
2008-12-22 15:58:10 com.sun.grizzly.DefaultCallbackHandler onConnect
GRAVE: Connection refused: no further information
....
I was expecting a Exception at the line : f_tcpConnectorHandler.connect(new
InetSocketAddress("localhost", 7803));