OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
wsksock.h File Reference

Winsock for OWL subsystem. More...

#include <owl/private/defs.h>
#include <owl/window.h>
#include <owl/wskaddr.h>
#include <owl/preclass.h>
#include <owl/posclass.h>

Go to the source code of this file.

Classes

class  owl::TSocketWindow
 Derived from TWindow, a private window used to catch notification messages. More...
 
class  owl::TSocket
 TSocket encapsulates the basic attributes of a socket. More...
 

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

#define WINSOCK_NOERROR   (int)0
 
#define WINSOCK_ERROR   (int)SOCKET_ERROR
 
#define N_DEF_MAX_READ_BUFFFER_SIZE   8192
 
#define MSG_SOCKET_NOTIFY   ((UINT)(WM_USER+301))
 User-defined message used for socked notifications.
 
#define FD_ALL   (FD_READ|FD_WRITE|FD_OOB|FD_ACCEPT|FD_CONNECT|FD_CLOSE)
 
#define FD_NONE   (0)
 

Enumerations

enum  owl::TNotificationSet { owl::NotifyNone = 0x00 , owl::NotifyRead = 0x01 , owl::NotifyWrite = 0x02 , owl::NotifyOOB = 0x04 , owl::NotifyAccept = 0x08 , owl::NotifyConnect = 0x10 , owl::NotifyClose = 0x20 , owl::NotifyAll = 0x3F }
 Enumeration describing the type of event notifications you want to receive for a given socket. More...
 

Detailed Description

Winsock for OWL subsystem.

Based on work by Paul Pedriana, 70541.nosp@m..322.nosp@m.3@com.nosp@m.puse.nosp@m.rve.c.nosp@m.om

Definition in file wsksock.h.

Macro Definition Documentation

◆ FD_ALL

Definition at line 33 of file wsksock.h.

◆ FD_NONE

#define FD_NONE   (0)

Definition at line 34 of file wsksock.h.

◆ MSG_SOCKET_NOTIFY

#define MSG_SOCKET_NOTIFY   ((UINT)(WM_USER+301))

User-defined message used for socked notifications.

Definition at line 32 of file wsksock.h.

◆ N_DEF_MAX_READ_BUFFFER_SIZE

#define N_DEF_MAX_READ_BUFFFER_SIZE   8192

Definition at line 27 of file wsksock.h.

◆ WINSOCK_ERROR

#define WINSOCK_ERROR   (int)SOCKET_ERROR

Definition at line 25 of file wsksock.h.

◆ WINSOCK_NOERROR

#define WINSOCK_NOERROR   (int)0

Definition at line 24 of file wsksock.h.