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

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

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -