In the TCP Sampler Config node, I specify the target ip and port for my request. JMeter must be instantiating a socket for this request. How can I get a handle to the socket or the port number for the socket?
If I could get a handle to the socket, I could make a call to getLocalPort() using beanshell.

