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

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -