Comment for checking socket at run-time

This commit is contained in:
Jonah Dahlquist 2019-08-13 20:17:52 -05:00 committed by Jonah Dahlquist
commit bd78b82b8e

View file

@ -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)
} }
} }