Comment for checking socket at run-time
This commit is contained in:
parent
e8c8e3c9cc
commit
bd78b82b8e
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ impl<SpiBus: ActiveBus, NetworkImpl: Network> W5500<SpiBus, NetworkImpl> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn open_udp_socket<SocketImpl: Socket>(&self, socket: SocketImpl) -> UdpSocket<SocketImpl> {
|
pub fn open_udp_socket<SocketImpl: Socket>(&self, socket: SocketImpl) -> UdpSocket<SocketImpl> {
|
||||||
|
// TODO compare socket to sockets list
|
||||||
UdpSocket::new(socket)
|
UdpSocket::new(socket)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue