[categories] [index] [all (553)] [latest]
import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("www.seriot.ch", 80)) s.send("GET /index.php HTTP/1.1\nHost: seriot.ch\n\n") response = s.recv(1024) print response