Lines Matching refs:socket
51 use smoltcp::socket::tcp;
188 let socket = sockets.get_mut::<tcp::Socket>(tcp1_handle); in main() localVariable
189 if !socket.is_open() { in main()
190 socket.listen(1234).unwrap(); in main()
193 if socket.can_send() && processed < AMOUNT { in main()
194 let length = socket in main()
204 let socket = sockets.get_mut::<tcp::Socket>(tcp2_handle); in main() localVariable
205 if !socket.is_open() { in main()
206 socket.listen(1235).unwrap(); in main()
209 if socket.can_recv() && processed < AMOUNT { in main()
210 let length = socket in main()