Lines Matching defs:new

29 - socket.socket([family[, type [, proto, fileno]]]) --> new socket object
32 - socket.ntohs(16 bit value) --> new int object
33 - socket.ntohl(32 bit value) --> new int object
34 - socket.htons(16 bit value) --> new int object
35 - socket.htonl(32 bit value) --> new int object
136 _accept() -- accept connection, returning new socket fd and client address\n\
141 dup() -- return a new socket fd duplicated from fileno()\n\
976 /* Initialize a new socket object. */
978 /* Default timeout for new sockets */
1024 /* Create a new socket object.
2804 Wait for an incoming connection. Return a new socket file descriptor\n\
3481 unaccepted connections that the system will allow before refusing new\n\
3559 /* Allocate a new string. */
3646 a new string. Receive up to buffersize bytes from the socket. If buffersize\n\
3859 * new reference (which will be decrefed if there is a subsequent
5137 /* Create a new, uninitialized socket object. */
5142 PyObject *new;
5144 new = type->tp_alloc(type, 0);
5145 if (new != NULL) {
5146 ((PySocketSockObject *)new)->sock_fd = INVALID_SOCKET;
5147 ((PySocketSockObject *)new)->sock_timeout = _PyTime_FromSeconds(-1);
5148 ((PySocketSockObject *)new)->errorhandler = &set_error;
5150 return new;
5154 /* Initialize a new socket object. */
6784 Returns the default timeout in seconds (float) for new socket objects.\n\
6785 A value of None indicates that new socket objects have no timeout.\n\
6804 Set the default timeout in seconds (float) for new socket objects.\n\
6805 A value of None indicates that new socket objects have no timeout.\n\