c# - ASP.NET/IIS: How can I serve TCP connections using a custom protocol (i.e. without WCF)? -


i have asp.net mvc website needs administer remote devices. these remote devices speak custom protocol on tcp on non-standard port. communicate these devices, use tcplistener , maintain connections of them. when administration request comes through website, send data appropriate device through tcp connection.

i have been able create tcplistener in application_start , serve connections. doesn't work if iis has shutdown (or never started) app pool.

i incoming tcp connections on specific port start app pool , connect tcplistener. possible?


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -