I have one text file in this format.
Like this I have thousands of line of data.
Now I have an header and trailer for each message and I want to transfer each of this message as a complete packet over an COM2 port which is attached to an leased line.
Now I want to know how do u access a COM port and after successfull accessing how do I send messages over it. And also if I have to convert the data in binary how do I do it?