send() : to send data recv() : to receive data close(): causes teh system to release resources allocated to a socket. In case of TCP, the connection is terminated. As part of its standard library, ...
On Python 3, socket.socket is monkey-patched to GreenSocket (of eventlet.greenio.base) object. When sock.makefile('rb') is called, sock.makefile('rb') creates a SocketIO object (of socket).