I'm trying to create a custom FTP server with TcpListener over SSL.
When closing the connections the client generates an error because when the socket gets shutdown is not sending close-notify
alert. Which I have read is not considered in .NET TLS implementation.
What would be the best way to add this behavior to my server. How do I send this alert? Is it simple as writing the string to the SSL stream or wrapped stream.
I would appreciate if someone can point me in the right direction.
Thanks