added timeout to the ethernet receive

This commit is contained in:
skarg
2005-04-18 20:53:02 +00:00
parent 3b8cfb87ef
commit d6033b03a3
3 changed files with 110 additions and 18 deletions
+2 -1
View File
@@ -69,7 +69,8 @@ int ethernet_send_pdu(
uint16_t ethernet_receive(
BACNET_ADDRESS *src, // source address
uint8_t *pdu, // PDU data
uint16_t max_pdu); // amount of space available in the PDU
uint16_t max_pdu, // amount of space available in the PDU
unsigned timeout); // milliseconds to wait for a packet
void ethernet_get_my_address(BACNET_ADDRESS *my_address);