Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Networking Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWSocketListener

Module:  Essential Networking Module   Package:  Networking


RWSocketListenerRWSocketPortalBase

Local Index

Members

Header File

#include <rw/network/RWSocketListener.h>

Description

Waits on a specified socket address for incoming connections. Connections are obtained as RWSocketPortals.

Public Enums

enum WhoShouldClose { Portal, Application };

Public Constructors

RWSocketListener();
RWSocketListener(const RWSockAddrBase& address, 
int backlog=5);
RWSocketListener(const RWSocket& socket, 
                 WhoShouldClose who=Portal);

Public Destructor

~RWSocketListener();

Public Member Operator

RWSocketPortal
accept(RWSockAddr* addr=0) const;
RWSocketPortal
operator()(RWSockAddr* addr=0) const;

Public Member Functions

RWSocket
getSocket() const;
void
listen(const RWSockAddrBase& address, int backlog=5);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.