Home
last modified time | relevance | path

Searched refs:accept (Results 1 – 7 of 7) sorted by relevance

/DragonOS/user/apps/test_socket/src/
H A Dtest_unix_stream.rs27 let (mut stream, _) = listener.accept().expect("listen error"); in test_unix_stream()
/DragonOS/user/apps/http_server/
H A Dmain.c220 … if ((new_socket = accept(server_fd, (struct sockaddr *)&address, (socklen_t *)&addrlen)) < 0) in main()
/DragonOS/kernel/src/net/
H A Dsyscall.rs359 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 Dmod.rs162 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept() method
H A Dinet.rs881 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept() method
/DragonOS/
H A DLICENSE180 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 Dmod.rs582 SYS_ACCEPT => Self::accept(args[0], args[1] as *mut SockAddr, args[2] as *mut u32), in handle()