how to increase serial receive buffer size?
hello everyone!!!
i am writing an application in C that receives large packets from the /dev/ttyS0 serial port of a PC using the read function.
The problem is for reading packets larger than 4096 bytes.
i have created a buffer in which i save the incoming packets but i cant seem to increase its size more than 4096 bytes.
please help me in this regard, i would really appreciate an urgent reply to this.
thanks in advance.
regards
Last edited by HZC; 02-14-2005 at 10:38 PM.
|