How to log the source port from the ClientHandler

2010-02-08 Thread Supun Kamburugamuva
I'm looking for a way to log the source socket port for a socket connection from a Class implementing the NHttpClientHandler. I'm interested in both connection creation and close events. NHttpClientHandler class receives a instance of type NHttpClientConnection. I can cast this to HttpInetConnecti

Re: How to log the source port from the ClientHandler

2010-02-08 Thread Oleg Kalnichevski
On Mon, 2010-02-08 at 13:41 +0530, Supun Kamburugamuva wrote: > I'm looking for a way to log the source socket port for a socket connection > from a Class implementing the NHttpClientHandler. I'm interested in both > connection creation and close events. > > NHttpClientHandler class receives a ins

Re: How to log the source port from the ClientHandler

2010-02-08 Thread Supun Kamburugamuva
HI Oleg, Thanks for the quick response. Supun. On Mon, Feb 8, 2010 at 5:06 PM, Oleg Kalnichevski wrote: > On Mon, 2010-02-08 at 13:41 +0530, Supun Kamburugamuva wrote: > > I'm looking for a way to log the source socket port for a socket > connection > > from a Class implementing the NHttpClien