string
|
addr_family_name(family)
Given an address family constant returns the string name. |
|
|
|
|
|
get_proto_by_number(...)
Returns the protocol name and a tuple of aliases given the protocol's number. |
|
|
|
htonl(...)
32 bit conversion from host to network |
|
|
|
htons(...)
16 bit conversion from host to network |
|
|
|
interval_now(...)
You can use the value returned by interval_now() to establish epochs
and to determine intervals (that is, compute the difference
between two times) |
|
|
|
interval_to_microseconds(...)
Converts platform-dependent intervals to standard clock microseconds |
|
|
|
interval_to_milliseconds(...)
Converts platform-dependent intervals to standard clock milliseconds |
|
|
|
interval_to_seconds(...)
Converts platform-dependent intervals to standard clock seconds |
|
|
|
microseconds_to_interval(...)
Converts standard clock microseconds to platform-dependent intervals. |
|
|
|
milliseconds_to_interval(...)
Converts standard clock milliseconds to platform-dependent intervals. |
|
|
|
ntohl(...)
32 bit conversion from network to host |
|
|
|
ntohs(...)
16 bit conversion from network to host |
|
|
|
seconds_to_interval(...)
Converts standard clock seconds to platform-dependent intervals. |
|
|
|
ticks_per_second(...)
An integer between 1000 and 100000 indicating the number of ticks per
second counted by PRIntervalTime on the current platform. |
|
|
|
PR_AF_INET = 2
|
|
PR_AF_INET6 = 10
|
|
PR_AF_LOCAL = 1
|
|
PR_AF_UNSPEC = 0
|
|
PR_AI_ADDRCONFIG = 32
|
|
PR_AI_ALL = 8
|
|
PR_AI_DEFAULT = 48
|
|
PR_AI_NOCANONNAME = 32768
|
|
PR_AI_V4MAPPED = 16
|
|
PR_DESC_FILE = 1
|
|
PR_DESC_LAYERED = 4
|
|
PR_DESC_PIPE = 5
|
|
PR_DESC_SOCKET_TCP = 2
|
|
PR_DESC_SOCKET_UDP = 3
|
|
PR_INTERVAL_MAX = 100000
|
|
PR_INTERVAL_MIN = 1000
|
|
PR_INTERVAL_NO_TIMEOUT = 4294967295
|
|
PR_INTERVAL_NO_WAIT = 0
|
|
PR_IpAddrAny = 1
|
|
PR_IpAddrLoopback = 2
|
|
PR_IpAddrNull = 0
|
|
PR_IpAddrV4Mapped = 3
|
|
PR_POLL_ERR = 8
|
|
PR_POLL_EXCEPT = 4
|
|
PR_POLL_HUP = 32
|
|
PR_POLL_NVAL = 16
|
|
PR_POLL_READ = 1
|
|
PR_POLL_WRITE = 2
|
|
PR_SHUTDOWN_BOTH = 2
|
|
PR_SHUTDOWN_RCV = 0
|
|
PR_SHUTDOWN_SEND = 1
|
|
PR_SockOpt_AddMember = 8
|
|
PR_SockOpt_Broadcast = 15
|
|
PR_SockOpt_DropMember = 9
|
|
PR_SockOpt_IpTimeToLive = 6
|
|
PR_SockOpt_IpTypeOfService = 7
|
|
PR_SockOpt_Keepalive = 3
|
|
PR_SockOpt_Linger = 1
|
|
PR_SockOpt_MaxSegment = 14
|
|
PR_SockOpt_McastInterface = 10
|
|
PR_SockOpt_McastLoopback = 12
|
|
PR_SockOpt_McastTimeToLive = 11
|
|
PR_SockOpt_NoDelay = 13
|
|
PR_SockOpt_Nonblocking = 0
|
|
PR_SockOpt_RecvBufferSize = 4
|
|
PR_SockOpt_Reuseaddr = 2
|
|
PR_SockOpt_SendBufferSize = 5
|
|
_C_API = <capsule object "_C_API" at 0x7f1d0751f420>
|
|
__package__ = None
|