Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWSocketListener



Module

Networking Tools: Network Communication Classes (net library)

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Data Types

Member Functions

Synopsis

#include <rw/toolpro/sockport.h>
RWSocketListener listener(RWInetAddr(71));

Required Libraries

net, tls (and possibly std)

Description

A socket listener 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&);
RWSocketListener(const RWSocket& socket, 
                 WhoShouldClose who=Portal);

Public Member Functions

void
listen(const RWSockAddrBase);
RWSocketPortal
operator()() const;
RWSocket
socket() const;


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.