I am on my bachelor thesis and i am making a network program in Python. Everything was working fine until i tried to send a file.
Now here is the problem:
for x in packets: s.sendto(x, (host, port))
this wont work, it will send only 10 packets out of 16, it just stops, and i am like WTF? but this:
for x in packets: print "." s.sendto(x, (host, port))
I dont want to print something for every packet i send!! any suggestions??
(no there are no errors plus i double checked the hidden characters in notepad++ and everything is fine)