Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Developing Windows Services
Subject:   Can't put tcpClient to work
Date:   2005-12-19 12:32:10
From:   CRodrigues
Hi,


I develop a windows service to work with a tcpClient object.


The code works fine if I use a Windows App, but it does not work if the same code is placed in a Windows Service.


The message that is thrown is:


"No connection could be made because the target machine actively refused it"


Can someone give me a help?


Carlos
Regards