Table of Contents

Class: fdURL ./src/peak/net/sockets.py

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

Base Classes   
naming.URL.Base
Methods   
asSocket
  asSocket 
asSocket ( self )


Table of Contents

This document was automatically generated on Mon Apr 15 01:11:05 2024 by HappyDoc version 2.1