Lines Matching defs:ip
25 - socket.gethostbyname(hostname) --> host IP address (string: 'dd.dd.dd.dd')
26 - socket.gethostbyaddr(IP address) --> (hostname, [alias, ...], [IP addr, ...])
42 - socket.inet_aton(IP address) -> 32-bit packed IP representation
43 - socket.inet_ntoa(packed IP) -> IP address string
445 /* TCP/IP Services for VMS uses a maximum send/recv buffer length */
855 names to a numeric IP address. This usually calls gethostbyname()
982 /* Create a string object representing an IP address.
1786 connection, and the address of the client. For IP sockets, the address\n\
2028 Bind the socket to a local address. For IP sockets, the address is a\n\
2175 Connect the socket to a remote address. For IP sockets, the address\n\
2284 Return the address of the local endpoint. For IP sockets, the address\n\
2313 Return the address of the remote endpoint. For IP sockets, the address\n\
2985 For IP sockets, the address is a pair (hostaddr, port).");
3318 Return the IP address (a string of the form '255.255.255.255') for a host.");
3521 Return the true host name, a list of aliases, and a list of IP addresses,\n\
3522 for a host. The host argument is a string giving a host name or IP number.");
3525 /* Python interface to gethostbyaddr(IP). */
3614 Return the true host name, a list of aliases, and a list of IP addresses,\n\
3615 for a host. The host argument is a string giving a host name or IP number.");
3945 "inet_aton(string) -> packed 32-bit IP representation\n\
3947 Convert an IP address in string format (123.45.67.89) to the 32-bit packed\n\
3983 IP address string passed to inet_aton");
4004 "illegal IP address string passed to inet_aton");
4021 Convert an IP address from 32-bit packed binary format to string format");
4036 "packed IP wrong length for inet_ntoa");
4048 "inet_pton(af, ip) -> packed IP address string\n\
4050 Convert an IP address from string format to a packed string suitable\n\
4057 char* ip;
4064 if (!PyArg_ParseTuple(args, "is:inet_pton", &af, &ip)) {
4076 retval = inet_pton(af, ip, packed);
4082 "illegal IP address string passed to inet_pton");
4099 "inet_ntop(af, packed_ip) -> string formatted IP address\n\
4101 Convert a packed IP address of the given family to string format.");
4111 char ip[MAX(INET_ADDRSTRLEN, INET6_ADDRSTRLEN) + 1];
4113 char ip[INET_ADDRSTRLEN + 1];
4117 memset((void *) &ip[0], '\0', sizeof(ip));
4126 "invalid length of packed IP address string");
4133 "invalid length of packed IP address string");
4143 retval = inet_ntop(af, packed, ip, sizeof(ip));
4551 "OS/2 TCP/IP Error# %d", sock_errno());
4707 PyModule_AddIntConstant(m, "AF_INET6", AF_INET6); /* IP version 6 */
5169 /* Some reserved IP v.4 addresses */