You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
595 B

  1. cdef class UDPTransport(UVBaseTransport):
  2. cdef:
  3. bint __receiving
  4. int _family
  5. cdef _init(self, Loop loop, unsigned int family)
  6. cdef _connect(self, system.sockaddr* addr, size_t addr_len)
  7. cdef _bind(self, system.sockaddr* addr, bint reuse_addr)
  8. cdef open(self, int family, int sockfd)
  9. cdef _set_broadcast(self, bint on)
  10. cdef inline __receiving_started(self)
  11. cdef inline __receiving_stopped(self)
  12. cdef _send(self, object data, object addr)
  13. cdef _on_receive(self, bytes data, object exc, object addr)
  14. cdef _on_sent(self, object exc)