Egor Karavaev
|
096ce02ac4
Implement a SocketRef smart pointer to detect state changes.
|
7 years ago |
whitequark
|
d88ef3c8d3
Drop the pretense that anyone cares about non-IP over Ethernet.
|
7 years ago |
Egor Karavaev
|
331dc10780
Add support for IPv4 default gateway.
|
7 years ago |
whitequark
|
6f5ae33501
Add a keep-alive and timeout demo to the examples.
|
7 years ago |
whitequark
|
b7b4877a85
Fix an embarassing relative/absolute time mismatch in examples.
|
7 years ago |
whitequark
|
49ed4ae5f3
Add a TCP data source endpoint to the server example.
|
7 years ago |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
7 years ago |
whitequark
|
7533542ba8
Fix warnings.
|
7 years ago |
whitequark
|
6bc6cc7af7
Implement fmt::Write for TcpSocket.
|
7 years ago |
whitequark
|
265e6f6cb7
Add UdpSocket::is_open, similar to TcpSocket::is_open in function.
|
7 years ago |
whitequark
|
492fe3e4b1
Rework and test UDP sockets.
|
7 years ago |
whitequark
|
53a3875452
Rework error handling in TcpSocket::connect.
|
7 years ago |
whitequark
|
c799bfc398
Add --pcap option to all our examples.
|
7 years ago |
whitequark
|
961b12ce93
Add a sinkhole to the server example.
|
7 years ago |
whitequark
|
be9d0a202d
Don't block forever in TapInterface.
|
8 years ago |
whitequark
|
a0f2c62ac9
Add a TCP client example.
|
8 years ago |
whitequark
|
b88204c607
Factor out common code from examples.
|
8 years ago |
TÖRÖK Attila
|
e436356ae7
examples/server: fix outdated/misleading variable name.
|
8 years ago |
whitequark
|
b860505775
Try to get TCP state query methods into a saner state.
|
8 years ago |
whitequark
|
830f9d9ad5
Update TcpSocket::{can,may}_{send,recv} APIs.
|
8 years ago |
whitequark
|
8bff18cfdd
Rework the user-facing error handling in UDP sockets.
|
8 years ago |
whitequark
|
d5638f469f
Return the amount of bytes sent from UdpSocket::send_slice.
|
8 years ago |
whitequark
|
0ccd6205f7
Swap the data and endpoint in UdpSocket methods.
|
8 years ago |
whitequark
|
8f28e99a0c
Make interfaces not own the sockets.
|
8 years ago |
whitequark
|
70a09735c9
Make binding the UDP socket an explicit operation.
|
8 years ago |
whitequark
|
019d03d758
Implement socket sets.
|
8 years ago |
whitequark
|
839eae82a3
Use Managed/ManagedSlice for EthernetInterface.
|
8 years ago |
whitequark
|
657658de87
Reorder type parameters of Interface.
|
8 years ago |
whitequark
|
286c130dc5
Implement TCP retransmission.
|
8 years ago |
whitequark
|
5860c365f5
Impement fault injection.
|
8 years ago |