HAL_Linux: replace recvfrom with recv

This commit is contained in:
Andrew Tridgell 2015-07-29 08:39:29 +10:00
parent 5067359ed7
commit f72d9c6393
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ ssize_t UDPDevice::write(const uint8_t *buf, uint16_t n)
ssize_t UDPDevice::read(uint8_t *buf, uint16_t n)
{
return socket.recvfrom(buf, n, 0);
return socket.recv(buf, n, 0);
}
bool UDPDevice::open()