public static bool FindSocket(this Socket.Map map, int index, out Socket socket) { return(map.Socket(index, out socket)); }
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)); }
public static bool FindSocket(this Socket.Map map, string name, out Socket socket) { return(map.Socket(name, out socket)); }
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)); }