beginreceive Questions

5

I want to do this for (int i = 0; i < 100; i++ ) { Byte[] receiveBytes = receivingUdpClient.Receive(ref RemoteIpEndPoint); } But instead of using UdpClient.Receive, I have to use UdpClient.B...
Turner asked 7/11, 2010 at 14:47

1

I have a Form that create a UDP object, in the UDP class a UDPClient is created and the received data is done in the BeginReceive Method using EndReceive. When I print the string of the reveived d...
Atabrine asked 30/7, 2015 at 11:16

2

Solved

I'm using a NetworkStream & TcpClient to asynchronously receive data using BeginRead. I need to apply a time-out to this operation, such that after a specified amount of time the read will be a...

5

In what order is the Socket.BeginReceive/EndReceive functions called? For instance, I call BeginReceive twice, once to get the message length and the second time to get the message itself. Now the...
Hummocky asked 7/9, 2009 at 10:4
1

© 2022 - 2024 — McMap. All rights reserved.