hi,
I searched lot of times in Google, not able to find significant difference between long int and int. As both has same size. How can I know at what time which should I use.
Short pin 2 & 3 of serial port(DB 9 connector). Open hyper terminal for same serial port number like COM1 and type any character. You will see same character two times in screen. It means serial port is working.