Can you try this, then? I don't expect it to work, but I added some debug output that would be helpful to have.
https://www.dropbox.com/s/0joj8ko315iophe/servefiles.py?dl=1
It's working, somewhat
--------------------- MERGED ---------------------------
c:\servefiles>python servefiles_new.py 192.168.0.134 cia.cia
Preparing data...
Hex Dump: 0000001a3139322e3136382e302e3130303a383038302f6369612e636961
URLS:
192.168.0.100:8080/cia.cia
Opening HTTP server on port 8080...
Sending URL(s) to 192.168.0.134:5000...
Error: [WinError 10061] No connection could be made because the target machine a
ctively refused it
Shutting down HTTP server...
c:\servefiles>python servefiles_new.py 192.168.0.134 cia.cia
Preparing data...
Hex Dump: 0000001a3139322e3136382e302e3130303a383038302f6369612e636961
URLS:
192.168.0.100:8080/cia.cia
Opening HTTP server on port 8080...
Sending URL(s) to 192.168.0.134:5000...
192.168.0.134 - - [24/Dec/2016 16:48:27] "GET /cia.cia HTTP/1.1" 200 -
Error: timed out
Shutting down HTTP server...
--------------------- MERGED ---------------------------
It says Shutting down HTTP server...
but it's working
--------------------- MERGED ---------------------------
Merry Xmas, gotta go!














