[Ace-users] Need to find whether a FD represents a socket or a file
using ACE_OS.
Lucky
aparesh.sood at gmail.com
Fri Aug 31 01:39:46 CDT 2007
I needed a way to distinguish among a socket and a file for my
application. Is there a platform independent way, using ACE_OS or
otherwise), to get to know whether a particular FD represents a socket
or a file, like the macros:
S_ISSOCK( mode_t m) and S_ISREG( mode_t m) available on linux
machines.
Thanks in advance
Lucky
More information about the Ace-users
mailing list