D | gopher.py | 51 def send_request(selector, host, port): argument 53 s.send(selector + CRLF) 58 def get_menu(selector, host, port): argument 59 f = send_request(selector, host, port) 88 def get_textfile(selector, host, port): argument 90 get_alt_textfile(selector, host, port, list.append) 94 def get_alt_textfile(selector, host, port, func): argument 95 f = send_request(selector, host, port) 113 def get_binary(selector, host, port): argument 114 f = send_request(selector, host, port) [all …]
|