Código:
public sealed class Socket_Singlenton
{
static readonly Socket_Singlenton i_socket = new Socket_Singlenton();
static Socket m_cliente;
static Socket_Singlenton()
{
if (i_socket.Instance == null)
{
m_cliente = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
}
}
public Socket Instance
{
get { return m_cliente ; }
}
}


