Search code examples
c#windows-services

how to setup a tcplistener in windows services c#


Iam beginner to windows services , i have a console application to transfer files between client and server . Now i would like to turn my server application into windows services for listening multiple clients . I placed my console application code inside onstart() . After deploying the windows services not working or listening . Any IQ's...


Solution

  • Here is a complete article on TCP listener in windows service. It's quite old though but may be it helps.