Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

I'm at my wits end.

I have a self hosting (console app) WCF service using Net.Tcp binding with all default settings.

Inside one of the service methods, I use a UdpClient to send a udp packet to another unrelated IP/Port.

When the method returns, I get that boilerplate timeout exception but with an inner exception that the tcp connection was forcibly closed.

When remove the line that sends the udp packet, it works fine.

Any ideas?

Andre
Posted
Comments
Sergey Alexandrovich Kryukov 20-Mar-12 18:49pm    
Not quite clear. What makes you working of such different levels at the same time; WCF vs. UdpClient?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900