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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -