read and receive
there is a server also