ASP.NET web site running in IIS and hosting WCF service fails to get connections on the TCP server
Posted
by Salil
on Stack Overflow
See other posts from Stack Overflow
or by Salil
Published on 2010-06-05T10:04:00Z
Indexed on
2010/06/05
10:12 UTC
Read the original article
Hit count: 209
I am using the combination of Silverlight client application along with ASP.NET web site running in IIS and hosting WCF service. This WCF service uses the library that starts a TCP server and and initiates requests to the connected TCP clients when the silverlight client application makes the WCF async requests.
When I use this library in a local WPF application, the TCP server is able to receive client connection requests and I can get info from these clients. But when I use the same library from the implementation of the WCF service inside the ASP .NET web site project (+ Silverlight client), the server strangely does not receive any connection requests i.e. when I create TcpListener object and issue a start, nothing happens (nor an exception is generated).
My setup is I am using the Ethernet for the Internet and Wi-Fi for the TCP clients. Is the WCF service getting confused because of this? Is there any special WCF settings I should put in for TcpListener.Start to work?
© Stack Overflow or respective owner