serial port communication problem with null modem

From: prakash (prkumi_at_rediffmail.com)
Date: 02/17/05


Date: 17 Feb 2005 06:56:24 -0800

I am trying to establish a connection b/w port1 and port2 ( com ports
of PC)
/dev/sttyS0 and dev/sttyS1

I am able to do initial configuration as opening port communications
properly for both the ports
I have two different programs
swrite.c
sread.c
for writing and reading simultaneously from port1 to port2 or vice
versa

but I am unable to see the data coming from port 1 to port 2 when the
lenght of string wrriten oat one end exceeds 16 characters.

sometimes the configuration with baud rates as 19200 and 9600 does not
work at all.
I am very much Puzzeled..
want HELP !!!!!!!!!!!!ASAP