Started working on server readfromnetwork()