mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-15 09:33:15 -07:00
Yank potentially costly support for TTL out of UdpSocket since we dont use this anymore.
This commit is contained in:
parent
7943414c89
commit
05309037a8
2 changed files with 0 additions and 24 deletions
|
@ -46,17 +46,6 @@ public:
|
|||
virtual ~UdpSocket();
|
||||
virtual bool send(const InetAddress &to,const void *msg,unsigned int msglen);
|
||||
|
||||
/**
|
||||
* Send UDP packet with IP max hops set (<= 0 for default/infinite)
|
||||
*
|
||||
* @param to Destination address
|
||||
* @param msg Message data
|
||||
* @param msglen Message length
|
||||
* @param hopLimit IP TTL / max hops
|
||||
* @return True if packet appears sent
|
||||
*/
|
||||
bool sendWithHopLimit(const InetAddress &to,const void *msg,unsigned int msglen,int hopLimit);
|
||||
|
||||
protected:
|
||||
#ifdef __WINDOWS__
|
||||
UdpSocket(Type t,SOCKET s) :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue