users@grizzly.java.net

how to reject connections from client

From: vijayphan <vijayphan_at_gmail.com>
Date: Fri, 16 Jan 2009 14:32:22 -0800 (PST)

hi

I am new to grizzly. I have implemented a java socket based server using
grizzly framework.

I have two questions.

1) I have to validate the ip address of the client before accepting the
connection. If the client ip address is not in my list I want to reject the
connection.
 
2) On accepting the connection, I want to get the channel associated with
the connection and store it so that i can send any notifications to the
client. This is not a request based response.

I searched the forum. I could not get a solution.

Can someone please help me.

Thanks
VP



-- 
View this message in context: http://www.nabble.com/how-to-reject-connections-from-client-tp21509812p21509812.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.