Message format in data transmission
Hi,
I am new to winsock control so don't know much about it. following are some questions please let me know the answers
1. What is the message format when we communicate using winsock control ? i mean ASCII format or Binary format
2. I am making an application in which i am sending file using winsock control. Following is the format in which i send the data
BOF
file data
EOF
In above format BOF is beginning of file, file data(opening a file in binary format then sending data) and EOF is end of file. Basically i am adding this characters while sending file for my ease to receive the file properly at destination.
Here my question is i am using BOF and EOF are they valid characters in file data. I mean should i expect this characters in filedata also if yes then i will not get proper data at destination end.
I hope i am able to explain my question if not then let me know i will try to ellaborate more
Dhiren

