int receiveData(void* buffer, int iMaxDataLength) {
unsigned short destinationPort = (unsigned short) iDstPort;
- socket->recvFrom(buffer, iMaxDataLength, strHostAddress, destinationPort);
+ return socket->recvFrom(buffer, iMaxDataLength, strHostAddress, destinationPort);
}
};
#endif