Пример #1
0
 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));
 }
Пример #2
0
 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));
 }