Searched refs:accept (Results 1 – 7 of 7) sorted by relevance
/DragonOS/user/apps/test_socket/src/ |
H A D | test_unix_stream.rs | 27 let (mut stream, _) = listener.accept().expect("listen error"); in test_unix_stream()
|
/DragonOS/user/apps/http_server/ |
H A D | main.c | 220 … if ((new_socket = accept(server_fd, (struct sockaddr *)&address, (socklen_t *)&addrlen)) < 0) in main()
|
/DragonOS/kernel/src/net/ |
H A D | syscall.rs | 359 pub fn accept(fd: usize, addr: *mut SockAddr, addrlen: *mut u32) -> Result<usize, SystemError> { in accept() method 410 let (new_socket, remote_endpoint) = socket.accept()?; in do_accept()
|
/DragonOS/kernel/src/net/socket/ |
H A D | mod.rs | 162 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept() method
|
H A D | inet.rs | 881 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept() method
|
/DragonOS/ |
H A D | LICENSE | 180 5. You are not required to accept this License, since you have not 183 prohibited by law if you do not accept this License. Therefore, by
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 582 SYS_ACCEPT => Self::accept(args[0], args[1] as *mut SockAddr, args[2] as *mut u32), in handle()
|