- To: ecos-discuss@xxxxxxxxxxxxxxxxxx
- Subject: How to set a socket to non-blocking?
- From: Grant Edwards <grant.b.edwards@xxxxxxxxx>
- Date: Fri, 20 Jan 2012 14:01:30 +0000 (UTC)
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- User-agent: slrn/pre0.9.9-102 (Linux)
The eCos reference talks about how sockets behave when their marked as
non-blocking. How does one set a socket to non-blocking?
The following fails with an "unsupported" error:
fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK);
--
Grant Edwards grant.b.edwards Yow! I guess you guys got
at BIG MUSCLES from doing too
gmail.com much STUDYING!
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
[Linux Embedded]
[U-Boot V2]
[Linux Kernel]
[Linux MIPS]
[Linux ARM]
[Linux for the Blind]
[Linux Resources]
[Photo]
[Yosemite]
[ISDN Cause Codes]
[ECOS Home]
[Site Home]