site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:references; bh=L15bxO3H0ePGj9E7nEZMPYUIxkV7UA0qgZNAHHumic8=; b=k3mYY17xDMixDmoA7yGb8Yd09bxyRj+JktPReJqVvxoLaJelOwwDkdIEiLJYGS7rGJ NqrJhz/d+BoH/FX+nWRcDEaLzvwnwTzmExQG7NXb5xjFf/KUDV6/tCv7q34I39vr6mbu YsEk9nZYzbZwrk91cQ8bRV9HGfIGessJvWOzE= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date :references; b=hTy12pnf0mw3lh2CvbnXINdVFXeeCirE06ZtBisd08w6JaPQQsysiIodw5ExG0s5GF WMHtn2pJ+XpPh2tfOf6BUnC8Ph2IrpDtZvGOk/D4gVcZ3AaSyCNwLOENp086Q/03fLx1 eFqwfdp63sivYyZMSvDK1Mpxm4wQzzkDI5Pfg= The serial driver decided it only wanted to accept 1k of data. Eli Sent from my iPod 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. On 9-Dec-08, at 12:08 AM, "Rakesh Singhal" <rakesh.singhal@gmail.com> wrote: This email sent to site_archiver@lists.apple.com