if you're sending something to a server you can be sure the server is expecting you to tell it how many bytes you are going to be sending it. otherwise it won't know when to quit accepting data from you. read the server documentation to find out the format in which you send it data.Originally Posted by Elyubarov