Home
last modified time | relevance | path

Searched refs:broadcast (Results 1 - 8 of 8) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Ddriver.rs33 pub(crate) fn broadcast(&mut self) {
43 Registry::get_instance().broadcast();
H A Dregistry.rs133 pub(crate) fn broadcast(&self) {
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/
H A Dudp_socket.rs24 /// UdpSocket supports bind\connect\send\recv\send_to\recv_from\broadcast.
268 /// When enabled, this socket is allowed to send packets to a broadcast
281 /// if broadcast_socket.broadcast()? == false {
284 /// assert_eq!(broadcast_socket.broadcast()?, true);
304 /// assert_eq!(broadcast_socket.broadcast()?, false);
308 pub fn broadcast(&self) -> io::Result<bool> { in broadcast() functions
309 self.inner.broadcast() in broadcast()
607 /// When enabled, this socket is allowed to send packets to a broadcast
624 /// if connect_socket.broadcast()? == false {
627 /// assert_eq!(connect_socket.broadcast()
655 pub fn broadcast(&self) -> io::Result<bool> { broadcast() functions
[all...]
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
H A Dudp_socket.rs187 /// assert_eq!(socket.broadcast().unwrap(), false);
189 pub fn broadcast(&self) -> io::Result<bool> { in broadcast() functions
190 self.inner.broadcast() in broadcast()
487 /// When enabled, this socket is allowed to send packets to a broadcast
504 /// if connect_socket.broadcast()? == false {
507 /// assert_eq!(connect_socket.broadcast()?, true);
531 /// assert_eq!(connect_socket.broadcast()?, false);
535 pub fn broadcast(&self) -> io::Result<bool> { in broadcast() functions
536 self.inner.broadcast() in broadcast()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Ddriver.rs83 self.signal.broadcast();
107 self.signal.broadcast();
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/windows/
H A Dmod.rs127 global.broadcast(signal_kind as usize)
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/
H A Dudp.rs589 /// When enabled, this socket is allowed to send packets to a broadcast
602 /// if broadcast_socket.broadcast()? == false {
605 /// assert_eq!(broadcast_socket.broadcast()?, true);
625 /// assert_eq!(broadcast_socket.broadcast()?, false);
629 pub fn broadcast(&self) -> io::Result<bool> { in broadcast() functions
630 self.source.broadcast() in broadcast()
824 /// When enabled, this socket is allowed to send packets to a broadcast
844 /// if connected_sock.broadcast()? == false {
847 /// assert_eq!(connected_sock.broadcast()?, true);
874 /// assert_eq!(connected_sock.broadcast()
878 pub fn broadcast(&self) -> io::Result<bool> { broadcast() functions
[all...]
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dudp_test.rs441 /// SDV test cases for `broadcast()` and `set_broadcast()`.
445 /// 2. Sender calls set_broadcast() to set broadcast.
446 /// 3. Sender calls broadcast() to get broadcast.
456 assert!(broadcast_socket.broadcast().expect("get broadcast failed")); in sdv_set_get_broadcast()
470 assert!(broadcast_socket.broadcast().expect("get broadcast failed")); in sdv_set_get_broadcast()

Completed in 5 milliseconds