Class CSocketPoolSocket Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: Custom Code in Source After IncludesNext page: m_pFather    Show member index
Class Declared in:
SocketPoolSocket.h

'Overview' icon -- Shortcut to top of page. Overview

Copyright (c) 2002 Barak Weichselbaum <barak@komodia.com> All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

If you would like to receive a copy of this library outside the GNU GPL license, contact us for further details.

Contact info: Site: http://www.komodia.com Email: sales@komodia.com

Hierarchy Chart Hierarchy Chart

'Base Classes' icon -- Shortcut to top of page. Base Classes

Public base class CTCPSocketAsync

'Data Items' icon -- Shortcut to top of page. Data Items

Private data CSocketPool * m_pFather Our father
Private data std::string m_sAddress Connection data (where we want to connect to)
Private data unsigned short m_usPort

'Constructors' icon -- Shortcut to top of page. Constructors

Private constructor

CSocketPoolSocket( const CSocketPoolSocket& rSocket )

No copy ctor
Public constructor

CSocketPoolSocket( CSocketPool* pFather )

Ctor and dtor

'Destructors' icon -- Shortcut to top of page. Destructors

Public destructor virtual

~CSocketPoolSocket()

'Functions' icon -- Shortcut to top of page. Functions

Protected function void

ClosePoolSocket()

Close the pool socket
Public function BOOL

Connect()

Connect to the destination
Public function CSocketPoolSocket::PoolSocketID

GetID() const

Get our ID
Protected function virtual BOOL

OnSocketClose( int iErrorCode )

Our disconnection event
Protected function virtual BOOL

OnSocketConnect( int iErrorCode )

Connection event
Public function void

SetConnectionData( const std::string& rAddress, unsigned short usPort )

Set the connection data

'Custom Code' icon -- Shortcut to top of page. Custom Code

'Implementation Details' icon -- Shortcut to top of page. Implementation Details

File(s)
C:\dev\Komodia\SocketPoolSocket.cpp
C:\dev\Komodia\SocketPoolSocket.h
Header Includes
TCPSocketAsync.h     
Source Includes
stdafx.h     for precompiled header directive
SocketPoolSocket.h     
ErrorHandlerMacros.h     
SocketPool.h     
Owner
tcpip4
Last Modified
04/12/2002 23:53:49 PM

Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.