Esempio n. 1
0
 public SLSocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) : base(addressFamily, socketType, protocolType)
 {
     _socket = new Socket((System.Net.Sockets.AddressFamily)(int) addressFamily,
                          (System.Net.Sockets.SocketType)(int) socketType,
                          (System.Net.Sockets.ProtocolType)(int) protocolType);
 }
Esempio n. 2
0
 protected override ISocket GetISocket(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
 {
     return(new WinSocket(addressFamily, socketType, protocolType));
 }
Esempio n. 3
0
 protected override ISocket GetISocket(CommLiby.SocketLib.AddressFamily addressFamily, CommLiby.SocketLib.SocketType socketType, CommLiby.SocketLib.ProtocolType protocolType)
 {
     return(new SLSocket(addressFamily, socketType, protocolType));
 }