Return the socket’s file descriptor (a small integer), or -1 on failure. This is useful with select.select().
socket.fileno()