17 #ifdef DtUSE_UTILITIES_NAMESPACE
18 namespace DtUSE_UTILITIES_NAMESPACE
100 virtual int processConnections();
115 bool openImmediately =
true,
116 bool connectUdpSocket =
false );
134 virtual bool removeConnection(
const DtInetEndpoint& peerEndpoint );
135 virtual bool removeConnection(
const DtInetSocket* socket );
167 virtual int sendTo( caddr_t buff,
int buffSize,
DtInetDestList& dest,
206 void* usr,
int order );
220 void* usr,
int order );
227 virtual DtU32 getServerFlags()
const;
228 virtual DtU32 getConnectionFlags()
const;
233 virtual int getLastError();
234 virtual DtString getLastErrorString();
235 virtual void clearError();
243 void* socketCreator );
252 virtual int processNewTcpConnections();
253 virtual int processNewUdpConnections();
284 #ifdef DtUSE_UTILITIES_NAMESPACE
This file contains the declaration of the DtInetSocket base class.
Definition: vlInetAddrUtils.h:58
DtInetSocketAdditionCallback myCb
Definition: vlInetSocketMgr.h:48
std::multimap< DtInetEndpoint, DtInetSocket * > DtInetSocketList
Definition: vlInetSocketMgr.h:23
DtInetSockRcvStatus
Socket state enumeration.
Definition: vlInetSocket.h:129
std::map< int, DtInetSocketCbInfo * > myAdditionCallbacks
Definition: vlInetSocketMgr.h:268
std::vector< DtInetBuffer * > DtInetBufferChain
Socket state enumeration.
Definition: vlInetSocket.h:105
DtSocket *(* DtSocketCreationCallback)(void *creator, DtTcpSocketMgr *mgr)
Specialized socket creation callback signature.
Definition: vlTcpSocketMgr.h:33
The DtInetSocket class provides a protocol independant, address family independant base class for TCP...
Definition: vlInetSocket.h:201
DtInetSocketCbInfo(DtInetSocketAdditionCallback cb, void *usr, int order)
Definition: vlInetSocketMgr.h:41
DtU32 myServerFlags
Definition: vlInetSocketMgr.h:274
std::pair< DtInetEndpoint, DtInetSocket * > myLastSocketReadFrom
Definition: vlInetSocketMgr.h:266
DtInetSocketList mySockets
Definition: vlInetSocketMgr.h:264
DtU32 myConnectionFlags
Definition: vlInetSocketMgr.h:275
This file contains the declaration of the DtInetEndpoint class.
DtInetAddrFamily
Definition: vlInetAddrUtils.h:55
The DtInetEndpoint class provides a protocol independant, address family independent mechanism to rep...
Definition: vlInetEndpoint.h:33
DtSocketCreationCallback mySocketCreateCallback
Definition: vlInetSocketMgr.h:271
int myErrorCode
Definition: vlInetSocketMgr.h:277
std::map< int, DtInetSocketCbInfo * > myRemovalCallbacks
Definition: vlInetSocketMgr.h:269
DtInetTcpSocket * myPeerSocket
The next peer socket to be returned.
Definition: vlInetSocketMgr.h:281
Definition: vlInetDevice.h:101
DtInetSocket * myServerSocket
Definition: vlInetSocketMgr.h:261
int socket(int, int, int)
void * mySocketCreator
Definition: vlInetSocketMgr.h:272
Definition: vlInetSocketMgr.h:53
DtInetUdpSocket * myUdpServerSocket
Definition: vlInetSocketMgr.h:263
DtString myErrorString
Definition: vlInetSocketMgr.h:278
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
std::vector< DtInetEndpoint * > DtInetDestList
Definition: vlInetSocketMgr.h:26
DtInetSocketAdditionCallback DtInetSocketRemovalCallback
Definition: vlInetSocketMgr.h:36
An abstract base class to represent a Socket Type.
Definition: vlInetUdpSocket.h:24
#define DtSockOptNonBlocking
Tells the socket to operate in non-blocking mode when set.
Definition: vlInetSocket.h:61
void * myUsr
Definition: vlInetSocketMgr.h:49
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
Instances of DtString are used to represent strings.
Definition: vlString.h:29
bool(* DtInetSocketAdditionCallback)(DtInetSocket *sock, void *usr)
Definition: vlInetSocketMgr.h:35
int myCallOrder
Definition: vlInetSocketMgr.h:50
Definition: vlInetSocketMgr.h:37
The DtInetSocket class provides an address family independent stream socket.
Definition: vlInetTcpSocket.h:23
#define DtDefaultSockOpts
Marks the Socket as Writable.
Definition: vlInetSocket.h:90
DtInetTcpSocket * myTcpServerSocket
Definition: vlInetSocketMgr.h:262
This file declares useful defaults constants and static methods employed with the networking abstract...
#define DT_DLL_VLUTIL
Definition: vlMachineTypes.h:109