Home
last modified time | relevance | path

Searched refs:listen (Results 1 – 8 of 8) sorted by relevance

/smoltcp-0.9.1/examples/
Dserver.rs116 socket.listen(6969).unwrap(); in main()
129 socket.listen(6970).unwrap() in main()
165 socket.listen(6971).unwrap(); in main()
186 socket.listen(6972).unwrap() in main()
Dbenchmark.rs118 socket.listen(1234).unwrap(); in main()
136 socket.listen(1235).unwrap(); in main()
Dsixlowpan_benchmark.rs190 socket.listen(1234).unwrap(); in main()
206 socket.listen(1235).unwrap(); in main()
Dsixlowpan.rs100 socket.listen(50000).unwrap(); in main()
Dloopback.rs132 socket.listen(1234).unwrap(); in main()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs176 socket.listen(1234).unwrap();
/smoltcp-0.9.1/src/socket/
Dtcp.rs703 pub fn listen<T>(&mut self, local_endpoint: T) -> Result<(), ListenError> in listen() method
2678 s.listen(LOCAL_END).unwrap(); in test_closed_reject_after_listen()
2804 s.listen(LOCAL_PORT).unwrap(); in test_listen_sanity()
2811 assert_eq!(s.listen(0), Err(ListenError::Unaddressable)); in test_listen_validation()
2817 assert_eq!(s.listen(80), Ok(())); in test_listen_twice()
2818 assert_eq!(s.listen(80), Err(ListenError::InvalidState)); in test_listen_twice()
4538 s.listen(LISTEN_END).unwrap(); in test_listen()
/smoltcp-0.9.1/
DREADME.md82 * ICMP sockets can listen to ICMPv4 Port Unreachable messages, or any ICMPv4 messages with
489 It connects to the given address (not a hostname) and port (e.g. `socat stdio tcp4-listen:1234`),