System.Net.Sockets.Socket.Worker.ReceiveFrom C# (CSharp) Method

ReceiveFrom() public method

public ReceiveFrom ( ) : void
return void
			public void ReceiveFrom ()
			{
#if !MOONLIGHT
				int total = 0;
				try {
					total = result.Sock.ReceiveFrom_nochecks (result.Buffer,
									 result.Offset,
									 result.Size,
									 result.SockFlags,
									 ref result.EndPoint);
				} catch (Exception e) {
					result.Complete (e);
					return;
				}

				result.Complete (total);
#endif
			}