This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: TCP/IP Stack packet regrouping
Grant Edwards wrote:
> >
> > Sending generally will send it all at once, and there's no need
> > for a loop for the outgoing buffer?
>
> No, that is not generally true. For small blocks, it will
> _usually_ be true. For large blocks of data, you will have to
> check the return value from write() in a loop. The values of
> "small" and "large" vary from platform to platform.
Oops, yes you're right. I misremembered from the top of my head evidently.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/