Re: Writing on virtual serial port
Re: Writing on virtual serial port
- Subject: Re: Writing on virtual serial port
- From: Eli Bach <email@hidden>
- Date: Tue, 9 Dec 2008 00:18:11 -0800
The serial driver decided it only wanted to accept 1k of data.
You just call write() again for the data that wasn't sent. Just code a
loop to keep calling write until it fails or all the data is sent.
Eli
Sent from my iPod
On 9-Dec-08, at 12:08 AM, "Rakesh Singhal" <email@hidden>
wrote:
Hi all
I am writing some data on virtual serial port using write() function.
If I try to write data length of < 1024 then it returns the same
length but if i try to write more than 1024 bytes then it returns 1024
only. Mostly I am trying to write 1502 bytes and always it returns
1024 means it wrote only 1024 bytes.
Please let me know why is it happening and what is the ...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden