Adrien Béraud
fafd2f0233
update copyright year
2023-06-02 23:16:04 -04:00
Adrien Béraud
6919df592f
sockaddr: add fmt formatter
2023-05-18 12:31:42 -04:00
Adrien Béraud
58bc772256
NodeExport: use SockAddr, move to separate header
2023-03-23 16:50:19 -04:00
Adrien Béraud
4f9b50dd60
print_addr: use ostringstream insted of stringstream
2022-04-15 19:18:24 -04:00
Adrien Béraud
c59f951e5a
update copyright
2022-03-10 19:51:25 -05:00
Adrien Béraud
4587c0925f
utils: always check length in findMapValue
2020-05-19 19:50:20 -04:00
Adrien Béraud
f30d21e96f
move bootstrap logic from DhtRunner to Dht
2020-04-24 16:32:07 -04:00
Adrien Béraud
69f8969883
utils: fix build in 32 bit
2020-03-25 23:39:54 -04:00
Adrien Béraud
bc200cd76d
utils: fix indentation
2020-03-25 23:08:39 -04:00
Adrien Béraud
81131f1c4e
utils: check time bounds
2020-03-25 23:00:16 -04:00
Adrien Béraud
616d6fe4b8
update copyright date
2020-01-03 15:14:32 -05:00
Adrien Béraud
fea736428e
msgpack: take const reference in unpack
2019-12-14 13:01:24 -05:00
Adrien Béraud
2d358adf0e
utils: add findMapValue(string)
2019-12-14 13:00:13 -05:00
Adrien Béraud
e8b385c220
utils: optimize findMapValue
2019-12-13 23:57:22 -05:00
Adrien Béraud
150e62de0b
sockaddr: fix npe if address is not set
2019-07-01 14:08:41 -04:00
Adrien Béraud
2ac5157ab8
net: attempt to use the same port for IPv4 and IPv6 if 0
2019-06-22 21:30:49 -04:00
Adrien Béraud
feb498305f
network engine: convert mapped IPv4
2019-06-22 18:37:58 -04:00
Adrien Béraud
d438d4ef1b
sockaddr: add getMappedIPv6
2019-06-21 11:00:48 -04:00
Adrien Béraud
120c017399
net: add DatagramSocket, UdpSocket transport
2019-06-07 14:14:15 -04:00
Adrien Béraud
5881c91510
utils: include config.h
2019-04-19 20:24:01 -04:00
Adrien Béraud
5257ac314f
add API to retrieve version string
2019-04-14 00:19:01 -04:00
Adrien Béraud
01d8e513a1
peerdiscovery: cleanup
2019-04-08 11:34:52 -04:00
Mingrui Zhang
4240820463
peerdiscovery: add multicast node discovery mechanism
2019-04-08 11:32:08 -04:00
Adrien Béraud
f418b3651f
update copyright date
2019-03-16 12:37:23 -04:00
Sébastien Blin
393a403ff2
proxy_client: fix address split
2018-03-29 11:00:33 -04:00
Adrien Béraud
6e9f2cda79
SockAddr: add isMappedIPv4, getMappedIPv4
2018-01-11 13:29:18 -05:00
Adrien Béraud
6790d1ec5c
SockAddr: set service to null if string is empty
2017-11-17 18:31:28 +01:00
Adrien Béraud
161769f4ec
SockAddr: use host endianess for bitwise-shift operations
2017-11-10 17:48:36 -05:00
Adrien Béraud
9948079c97
SockAddr: add resolve()
2017-11-10 17:48:36 -05:00
Adrien Béraud
476fbb1160
network: use full 32-bits of transaction IDs
...
We used to use the first 16 bits for the message type.
2017-10-20 17:42:28 +02:00
Adrien Béraud
376486e64f
node: use full range of socket IDs
2017-10-17 15:25:09 +02:00
Adrien Béraud
1c45f34262
SockAddr: use pointer to sockaddr
...
Save memory and reduce copies by using a pointer
to a sockaddr structure of the right size instead of
using a full sockaddr_storage structure for every address.
2017-09-26 16:30:29 +02:00
Adrien Beraud
73bcebf355
license cleanup
2017-04-10 01:43:20 +02:00
Adrien Béraud
aa2227bdfc
SockAddr: add utility methods
2017-02-09 23:49:06 -05:00
Simon Désaulniers
b03a8b5b50
update license notice (2017)
2017-01-13 17:27:29 -05:00
Adrien Béraud
659d893dee
network: transmit large values in multiple packets
2016-10-09 16:22:33 -04:00
Adrien Béraud
6d38c18572
introduce SockAddr to store IP addresses
2016-09-15 01:38:26 -04:00
Simon Désaulniers
07e4435a07
value: add Query relevant structures
2016-07-10 19:26:04 +02:00
Simon Désaulniers
4b13fcac70
fixing various compilation errors
2016-05-02 15:25:14 -04:00
Simon Désaulniers
0f94e0de0c
moved infohash constexpr where appropriate
2016-05-02 15:25:14 -04:00
Simon Désaulniers
f93fb92ff5
add NetworkEngine::processMessage
2016-05-02 15:25:14 -04:00
Simon Désaulniers
594de2bd88
factorized common dependencies
2016-05-02 15:25:14 -04:00
Adrien Béraud
e00c8e9598
update copyright headers for 2016
2016-01-07 18:02:35 -05:00
Simon Désaulniers
1aae8f37dd
adding duration cast for llvm compatibility
2016-01-05 15:54:55 -05:00
Adrien Béraud
430daf5986
add utils module for common definitions/utilities
2015-11-08 16:06:30 -05:00