public static bool BeginReceive(Socket s, byte[] buffer, int ofs, int size, AsyncCallback callback, object state) { return(SocketExtension.BeginReceive(s, buffer, ofs, size, SocketFlags.None, callback, state)); }
public static bool BeginReceive(Socket s, byte[] buffer, int ofs, int size, SocketFlags flags, AsyncCallback callback) { return(SocketExtension.BeginReceive(s, buffer, ofs, size, flags, callback, null)); }