Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-14-2005, 10:32 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
Unhappy 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.


Last edited by HZC; 02-14-2005 at 10:38 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to increase the serial transmit buffer size in the Kernel. pwlodarczyk Programming 13 01-21-2009 04:39 PM
email 'send' NO - email 'receive' YES..? captain skywave Linux - Wireless Networking 4 04-23-2005 03:35 AM
Increase the command line buffer size Akiles Linux - General 3 04-19-2005 11:17 AM
increase point size size when printing PDF files newlin Red Hat 0 09-27-2003 07:13 AM
Send Receive Buffer in Linux? defa0009 Linux - General 6 06-21-2003 04:14 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration