wcf tcp listening question

S

Scott

We deployed a few WCF services that listen on TCP sockets. I can telnet to
the socket and get a conneciton also apps that need to use the service work.
But a thrid part alerting service that connects and attempts to looks for a
handshake response from these listening tcp socket fail. This thrid party
alerting service works as expected for non WCF listening sockets, i.e works
well for a standard app writen in .net to listen to a tcp socket ..... just
WCF listening we are having issues with.

Anything different about WCF tcp handshaking that i dont understand ? just
assumed it was normal tcp protocal stuff.

Thanks
Scott
 
S

Scott

Thanks for the reply Pete.

Some interesting points. Telenet test times out after say 1 mins. Im chasing
the alerting service provider to find out how the app works. Just thinking
back to the windows form app i have listing on a socket which works with the
alerting service. When i connect to it using telnet, i get a conneciton and
after 10 seconds get a 5 char response. This will be the difference.

Thank you, i see now
Scott
 
B

Burhan

Well, I seem to have a similar problem.
I have developed a WCF service that uses the net.tcp adapter and listens to
a specific port. I want to connect to that service using a normal .net client
that uses sockets to send data to a port and listens to responses.
When I try to send data to this service, I get the error: "The existing
connection was forcibly closed by remote host".
However, i am able to connect with the service by another client which uses
the Address/Binding/Contracts of the WCF service.
Is there a way that enables me to communicate with a WCF service by using an
ordinary socket based client?
 
B

Burhan

Well, I seem to have a similar problem.
I have developed a WCF service that uses the net.tcp adapter and listens to
a specific port. I want to connect to that service using a normal .net client
that uses sockets to send data to a port and listens to responses.
When I try to send data to this service, I get the error: "The existing
connection was forcibly closed by remote host".
However, i am able to connect with the service by another client which uses
the Address/Binding/Contracts of the WCF service.
Is there a way that enables me to communicate with a WCF service by using an
ordinary socket based client?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top