裏面有提到mono的lib
Koders Code Search: AsyncSocket.cs – C#
/* ————————————————————————– * Copyrights * * Portions created by or assigned to Cursive Systems, Inc. are * Copyright (c) 2002-2005 Cursive Systems, Inc. All Rights Reserved. Contact * information for Cursive Systems, Inc. is available at * http://www.cursive.net/. * * License * * Jabber-Net can be used under either JOSL or the GPL. * See LICENSE.txt for details. * ————————————————————————–*/ using System; using System.Diagnostics; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading; using bedrock.util; #if NET20 using System.Security.Authentication; using System.Net.Security; using System.Security.Cryptography.X509Certificates; #elif __MonoCS__ using Mono.Security.Protocol.Tls; using System.Security.Cryptography.X509Certificates; #elif !NO_SSL using Org.Mentalis.Security.Ssl; using Org.Mentalis.Security.Certificates; #endif