udp init cleanup, auto beacon addr list

This commit is contained in:
Matej Sekoranja
2015-12-31 11:53:12 +01:00
parent 63a0c71fe9
commit 708379ec0a
2 changed files with 61 additions and 31 deletions

View File

@@ -51,6 +51,7 @@ inline int sendto(int s, const char *buf, size_t len, int flags, const struct so
_sendAddresses(0),
_ignoredAddresses(0),
_sendToEnabled(false),
_localMulticastAddressEnabled(false),
_receiveBuffer(new ByteBuffer(MAX_UDP_RECV)),
_sendBuffer(new ByteBuffer(MAX_UDP_RECV)),
_lastMessageStartPosition(0),