Media.net interview question

Tcp code for client server using put get offset