[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: socketless platforms?
From: |
Eric Blake |
Subject: |
Re: socketless platforms? |
Date: |
Wed, 18 May 2011 10:23:28 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 |
On 05/18/2011 10:18 AM, Sam Steingold wrote:
> is there such a thing as a platform without socket support?
> if yes, how do I detect that after I call gl_SOCKETLIB?
Not all platforms support Unix sockets (AF_UNIX/AF_LOCAL is lacking on
mingw) or IPv6 sockets (AF_INET6 is lacking on various platforms). For
that matter, you could probably find a platform these days where AF_INET
(IPv4) is useless, although it will probably still compile and just be a
runtime failure. Other address families supported by Linux are
non-standard, and unlikely to work in portable code.
But pretty much every platform has some form of socket support.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature