.Net SSL server library
I have created a server application that accepts connections over SSL. It's simple and works well enough. However, I'm wondering if there's a library out there that already does that. Ideally, it would be as easy to use as: authenticate with this certificate, listen on this port, and let me know when there's a new client connected. The library would handle threading, connections, disconnections, etc., whereas the application would handle the data exchange. A Google search didn't show me anything, so I don't know if something like that exists.
I have used Apache FTP (Java), so that's kinda what I have in mind. The biggest difference (other than JVM vs .Net) is tha开发者_C百科t this application isn't FTP (or HTTP or any other standard protocol).
Does anybody know if something like this already exists or if I should continue using what I already have?
It sounds like you want to look at Windows Communication Foundation.
It's pretty extensible in how you can configure it to communicate the way you want it to.
Implementing SSL With WCF.
SSL Example with Self Hosted Service.
精彩评论