Home | History | Annotate | Download | only in python2.7

Lines Matching refs:recv

164 _delegate_methods = ("recv", "recvfrom", "recv_into", "recvfrom_into",
172 send = recv = recv_into = sendto = recvfrom = recvfrom_into = _dummy
253 # _rbufsize is the suggested recv buffer size. It is *strictly*
254 # obeyed within readline() for recv calls. If it is larger than
255 # default_bufsize it will be used for recv calls within read().
338 # We never leave read() with any leftover data from a new recv() call
342 # recv() minimizes memory usage and fragmentation that occurs when
343 # rbufsize is large compared to the typical return value of recv().
351 data = self._sock.recv(rbufsize)
374 # recv() will malloc the amount of memory given as its
380 data = self._sock.recv(left)
392 # - Our call to recv returned exactly the
399 assert n <= left, "recv(%d) returned %d bytes" % (left, n)
426 recv = self._sock.recv
430 data = recv(1)
436 # recv loop to avoid the per byte overhead.
447 data = self._sock.recv(self._rbufsize)
476 data = self._sock.recv(self._rbufsize)
495 # a substring of our first recv().
500 # returning exactly all of our first recv().