Randomize ports if node goes offline
This commit is contained in:
@@ -362,6 +362,8 @@ class NodeService {
|
||||
|
||||
int shouldBindInterface(const char* ifname, const InetAddress& ifaddr);
|
||||
|
||||
unsigned int _getRandomPort(unsigned int minPort, unsigned int maxPort);
|
||||
|
||||
int _trialBind(unsigned int port);
|
||||
|
||||
/** Return whether the NodeService is running */
|
||||
|
||||
Reference in New Issue
Block a user