uploading to tcp port