Lines Matching defs:protocol

26 - socket.getprotobyname(protocolname) --> protocol number
55 the Ethernet protocol number to be received. For example:
125 or datagram (SOCK_DGRAM) socket. The protocol argument defaults to 0,\n\
126 specifying the default protocol. Keyword arguments are accepted.\n\
1459 "Unknown Bluetooth protocol");
2009 "%s(): unknown Bluetooth protocol", caller);
2292 "%s(): unsupported CAN protocol", caller);
2348 "%s(): unsupported PF_SYSTEM protocol", caller);
2491 "unknown BT protocol");
2532 "unknown PF_SYSTEM protocol");
4055 specifying the protocol level and protocol-specific type respectively,\n\
4149 integers specifying the protocol level and protocol-specific type\n\
4668 protocol level and protocol-specific type respectively, and cmsg_data\n\
5052 {"proto", T_INT, offsetof(PySocketSockObject, sock_proto), READONLY, "the socket protocol"},
5167 socket(int domain, int type, int protocol)
5944 Return a port number from a service name and protocol name.\n\
5945 The optional protocol name, if given, should be 'tcp' or 'udp',\n\
5946 otherwise any protocol will match.");
5987 Return the service name from a port number and protocol name.\n\
5988 The optional protocol name, if given, should be 'tcp' or 'udp',\n\
5989 otherwise any protocol will match.");
5994 This only returns the protocol number, since the other info is
6009 PyErr_SetString(PyExc_OSError, "protocol not found");
6018 Return the protocol number for the named protocol. (Rarely used.)");
6545 int family, socktype, protocol, flags;
6550 socktype = protocol = flags = 0;
6554 &protocol, &flags)) {
6601 hobj, pobj, family, socktype, protocol) < 0) {
6608 hints.ai_protocol = protocol;
6625 makesockaddr(-1, res->ai_addr, res->ai_addrlen, protocol);