How can I verify a socket listener?
I have created an application which starts a listener (it is a WCF application). After I run the application, is it possible to verify whether listener is runni开发者_如何学JAVAng correctly, and port it is listening to using a networking tool like wireshark,etc?
Use e.g. netstat, in a console type:
netstat -an
Another solution is to try to use another listener on the same port. You'll get a bind exception.
use http://porttest.blogspot.com/ to verify that connection open
精彩评论