fd.socket:fileno[/family[/kind[/protocol]]]
fileno can be an integer, or one of stdin , stdout , stderr
family can be the lowercase form of any socket.AF_* constant, e.g.
unix , inet , inet6 , etc. (inet is the default if unspecified.)
kind can be the lowercase form of any socket.SOCK_* constant, e.g.
stream , dgram , raw , etc. (stream is the default if unspecified.)
protocol can be an integer, or the lowercase form of any
socket.IPPROTO_* constant, e.g. ip , icmp , udp , etc. It can also
be the name of a protocol that will be looked up using
socket.getprotobyname() . (If unspecified, it defaults to the
system-defined default protocol for the family and kind; effectively this
is the same as SocketProtocol.ip .)
Example:
fd.socket:stdin/inet6/dgram/udp
|