예제 #1
0
 public static bool FindSocket(this Socket.Map map, int index, out Socket socket)
 {
     return(map.Socket(index, out socket));
 }
예제 #2
0
 public static bool FindSocket <TSocket>(this Socket.Map map, int index, out TSocket socket)
     where TSocket : Socket, new()
 {
     return(map.Socket <TSocket>(index, out socket));
 }
예제 #3
0
 public static bool FindSocket(this Socket.Map map, string name, out Socket socket)
 {
     return(map.Socket(name, out socket));
 }
예제 #4
0
 public static bool FindSocket <TSocket>(this Socket.Map map, string name, out TSocket socket)
     where TSocket : Socket, new()
 {
     return(map.Socket <TSocket>(name, out socket));
 }