Receive()

UdpClient::Receive(System::SharedPtr<IPEndPoint>&) method

Returns a datagram sent by a server.

System::ArrayPtr<uint8_t> System::Net::Sockets::UdpClient::Receive(System::SharedPtr<IPEndPoint> &remoteEP)

Arguments

ParameterTypeDescription
remoteEPSystem::SharedPtr<IPEndPoint>&An IPEndPoint that represents the remote host from which the data was sent.

Return Value

A byte array where received data will be assigned.

See Also