Poll socket until messages come through
Merge branch 'master' of github.com:faiq/distributedfiles
Main returns 0 at the end to shut up compiler
Added stat call
Don't need the server header
write isn't working, but is returning a file descriptor:
server gets proper fd but not the file
Added more debug info
it was a flag issue
adds flag to make sure you dont append