server, client char->byte