I\'m making a program that retrieves decently large amounts of data through a python socket and then immediately disconnects when the information is finished sending. But I\
You've probably missed a very important part of those examples - the lines that follow the "recv()" call:
while 1: data = conn.recv(1024) if not data: break conn.send(data) conn.close()