nim-chronos/chronos/transports
Eugene Kabanov 0d050d5823
Add automatic constructors for TCP and UDP transports. (#512)
* Add automatic constructors for TCP and UDP transports.

* Add port number argument.
Add some documentation comments.
Fix tests.

* Make datagram test use request/response scheme.

* Add helper.

* Fix issue with non-zero port setups.
Add test.

* Fix tests to probe ports.

* Attempt to fix MacOS issue.

* Add Opt[IpAddress].
Make IPv4 mapping to IPv6 space automatic.

* Add tests.

* Add stream capabilities.

* Fix Linux issues.

* Make getTransportFlags() available for all OSes.

* Fix one more compilation issue.

* Workaround weird compiler bug.

* Fix forgotten typed version of constructor.

* Make single source for addresses calculation.

* Add one more check into tests.

* Fix flags not being set in transport constructor.

* Fix post-rebase issues with flags not being set.

* Address review comments.
2024-04-13 03:04:42 +03:00
..
common.nim Add automatic constructors for TCP and UDP transports. (#512) 2024-04-13 03:04:42 +03:00
datagram.nim Add automatic constructors for TCP and UDP transports. (#512) 2024-04-13 03:04:42 +03:00
ipnet.nim clean up `Defect` (#404) 2023-06-05 22:21:50 +02:00
osnet.nim Fix unreachable code places. (#459) 2023-10-30 15:27:25 +02:00
stream.nim Add automatic constructors for TCP and UDP transports. (#512) 2024-04-13 03:04:42 +03:00