classPiiGenericSocketDescriptor
#include <PiiGenericSocketDescriptor.h>
A generic socket descriptor that can be used with many native socket descriptor types.
Description
It supports at least network sockets (UDP/TCP) and local sockets
(unix domain sockets/pipes). More socket descriptors can be added
by using the pCustomDescriptor member.
Constructors and destructor
|
Create an invalid socket descriptor. |
|
|
(
Create a new SocketDescriptor with the given native socketDescriptor. |
|
|
(
Create a new SocketDescriptor with the given native socketDescriptor. |
|
|
(
Create a new SocketDescriptor with the given native socketDescriptor. |
Public member functions
|
bool
|
|
Function details
-
PiiGenericSocketDescriptor
()[inline]Create an invalid socket descriptor.
-
PiiGenericSocketDescriptor
(- quintptr socketDescriptor
[inline]Create a new SocketDescriptor with the given native socketDescriptor.
This constructor is suitable for use with local sockets.
See also
-
PiiGenericSocketDescriptor
(- void * socketDescriptor
[inline]Create a new SocketDescriptor with the given native socketDescriptor.
This constructor is suitable for use with any native socket descriptor.
-
PiiGenericSocketDescriptor
(- int socketDescriptor
[inline]Create a new SocketDescriptor with the given native socketDescriptor.
This constructor is suitable for use with network sockets.
See also
-
Add a note
Not a single note added yet. Be the first, add yours.