您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

21 行
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)