read wite and post

read and write data from com and post it to server