MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / sock_recv_guts

Function sock_recv_guts

Modules/socketmodule.c:2402–2480  ·  view source on GitHub ↗

* This is the guts of the recv() and recv_into() methods, which reads into a * char buffer. If you have any inc/dec ref to do to the objects that contain * the buffer, do it in the caller. This function returns the number of bytes * successfully read. If there was an error, it returns -1. Note that it is * also possible that we return a number of bytes smaller than the request * bytes. *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

sock_recvFunction · 0.85
sock_recv_intoFunction · 0.85

Calls 2

select_errorFunction · 0.85
internal_select_exFunction · 0.85

Tested by

no test coverage detected