tags:

views:

154

answers:

2

What's the simplest way to check if anything is listening on net.tcp://localhost:8801/ Preferably using WCF

+4  A: 

I don't think WCF is the best way to do that. Simply open a Socket (or TcpClient) and try connecting to that endpoint.

Mehrdad Afshari
A: 

can You show me some code to do this?

satanowicz
Search StackOverflow. There are lots of examples of using those classes in C# on here.
Matt Jordan