Searched refs:SockaddrIn (Results 1 – 3 of 3) sorted by relevance
32 SockaddrIn = cstruct.Struct("sockaddr_in", "=HH4sxxxxxxxx", "family port addr") variable68 return SockaddrIn((family, socket.ntohs(port), addr))
115 sockaddr = csocket.SockaddrIn((AF_INET, 0, addr)).Pack()
371 "\x00" * (len(csocket.SockaddrIn6) - len(csocket.SockaddrIn)))