System::Net::Sockets::UdpClient::Receive method

UdpClient::Receive method

Returns a datagram sent by a server.

System::ArrayPtr<uint8_t> System::Net::Sockets::UdpClient::Receive(System::SharedPtr<IPEndPoint> &remoteEP)
ParameterTypeDescription
remoteEPSystem::SharedPtr<IPEndPoint>&An IPEndPoint that represents the remote host from which the data was sent.

ReturnValue

A byte array where received data will be assigned.

See Also