1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Use timercmp/sub and std::chrono to subtract timevals

This commit is contained in:
Matias Fontanini
2016-02-20 10:51:35 -08:00
parent dad6091706
commit f3448f1797
2 changed files with 30 additions and 34 deletions

View File

@@ -384,7 +384,6 @@ private:
PacketSender(const PacketSender&);
PacketSender& operator=(const PacketSender&);
int find_type(SocketType type);
int timeval_subtract (struct timeval* result, struct timeval* x, struct timeval* y);
#ifndef _WIN32
bool ether_socket_initialized(const NetworkInterface& iface = NetworkInterface()) const;
int get_ether_socket(const NetworkInterface& iface = NetworkInterface());