unetsocket_send(..) API updated to support reliability when transmitting datagrams.
Added a sample program txdata-reliable.c to demonstrate the usage of reliable transmission by receiving the DatagramDeliveryNtf or DatagramFailureNtf message.
An example run:
> samples/txdata-reliable localhost 242 1101
Connecting to localhost:1101
Transmitting 9 bytes of data to 242
Datagram delivered succesfully at the receiver node!
Transmission Complete
Updated the following:
unetsocket_send(..)
API updated to support reliability when transmitting datagrams.txdata-reliable.c
to demonstrate the usage of reliable transmission by receiving theDatagramDeliveryNtf
orDatagramFailureNtf
message.An example run: