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
Post a Comment