Sockets implemented for real time uploading