oups, I think my IP changed today maybe the DNSs are not all updated.. I'll
send you the source code by email
2009/1/16 vijayphan <vijayphan_at_gmail.com>
>
> Hi
>
> Thanks for the response.
>
> But am not able to download the code. Seems like the server is down.
>
> Thanks
> VP
>
>
> Survivant 00 wrote:
> >
> > you can check this link :
> >
> http://weblogs.java.net/blog/survivant/archive/2008/12/grizzly_create.html
> >
> > you can have a connection listener and you can keep the client reference
> > into cache... check the code .. there is a ClientConnectionHandler and
> > check the class :EchoQueryManagerFilter
> >
> > where is retreive this reference.
> >
> > hope that can help you to start..
> >
> > 2009/1/16 vijayphan <vijayphan_at_gmail.com>
> >
> >>
> >> 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.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> >> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/how-to-reject-connections-from-client-tp21509812p21510292.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>