renet/src/socket
Dario Nieuwenhuis f8cc1eacbe socket: remove SocketRef.
The intent was to run custom code after the user is done modifying the socket,
for example to update a (not yet existing) port->socket map in SocketSet. However
this wouldn't work, since the SocketRef would have to borrow the SocketSet at
the same time as the Socket to be able to notify the SocketSet.

I believe such indexing can be achieved by setting a "dirty" bit *before* giving
the socket to the user, then on poll() reindexing all dirty sockets. This could
even be faster: if user gets a socket multiple times between polls, it'd be reindexed
only once.
2021-11-03 23:32:32 +01:00
..
dhcpv4.rs socket/dhcpv4: return owned Config in Event. 2021-11-03 23:25:53 +01:00
icmp.rs Add RawHardwareAddress, use it in wire ndisc. 2021-10-21 01:25:13 +02:00
meta.rs use micros in Instant and Duration 2021-10-05 22:33:58 +02:00
mod.rs socket: remove SocketRef. 2021-11-03 23:32:32 +01:00
raw.rs Fix clippy lints 2021-08-18 16:05:50 +02:00
set.rs socket: remove SocketRef. 2021-11-03 23:32:32 +01:00
tcp.rs Merge #563 2021-11-03 22:02:06 +00:00
udp.rs Fix clippy lints 2021-08-18 16:05:50 +02:00
waker.rs rustfmt 2021-06-27 09:31:59 +02:00