version 1.17, 2006/06/26 22:23:29
|
version 1.20, 2006/08/09 21:12:42
|
|
|
#define Pegasus_Socket_h | #define Pegasus_Socket_h |
| |
#include <cctype> | #include <cctype> |
#include <Pegasus/Common/Config.h> |
|
#include <Pegasus/Common/IPC.h> |
|
#include <Pegasus/Common/Network.h> | #include <Pegasus/Common/Network.h> |
|
#include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
| |
#ifdef PEGASUS_OS_OS400 | #ifdef PEGASUS_OS_OS400 |
# include <Pegasus/Common/OS400ConvertChar.h> |
# include <Pegasus/Common/EBCDIC_OS400.h> |
#endif | #endif |
| |
#ifdef PEGASUS_OS_ZOS | #ifdef PEGASUS_OS_ZOS |
|
|
| |
static Sint32 write(SocketHandle socket, const void* ptr, Uint32 size); | static Sint32 write(SocketHandle socket, const void* ptr, Uint32 size); |
| |
|
static Sint32 timedWrite(SocketHandle socket, |
|
const void* ptr, |
|
Uint32 size, |
|
Uint32 socketWriteTimeout); |
|
|
static void close(SocketHandle socket); | static void close(SocketHandle socket); |
| |
static void enableBlocking(SocketHandle socket); | static void enableBlocking(SocketHandle socket); |