![]() |
CWhoisSocket | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Class |
Declared in: WhoisSocket.h |
Copyright (c) 2000-2003 Barak Weichselbaum <barak@komodia.com> All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS `AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Contact info:
Site: http://www.komodia.com Main contact: barak@komodia.com For custom projects, consulting, or other paid services: sales@komodia.com
![]() |
static WhoisMAP | m_aData | Our data map |
![]() |
static std::string | m_aIPWhois[wsLast] | Our IP whois |
![]() |
WhoisServer | m_aProgress | Where are we |
![]() |
WhoisServer | m_aServer | Server we searched |
![]() |
static CWhoisSocket | m_aSocket | Our building instance |
![]() |
static std::string | m_aWhoisNotFound[wsLast] | Whois not found strings |
![]() |
BOOL | m_bAdditionalServer | Does our whois server has additional whois servers |
![]() |
BOOL | m_bAsync | Are we async |
![]() |
BOOL | m_bDone | Are we whoising ? |
![]() |
BOOL | m_bError | Did we have an error |
![]() |
BOOL | m_bURL | What trace are we doing |
![]() |
DWORD | m_dwTimeout | Our timeout |
![]() |
char * | m_pData | The whois data |
![]() |
std::string | m_sAdditionalWhoisServer | Do we have another whois server |
![]() |
static std::string | m_sData[] | Our extensions |
![]() |
std::string | m_sDataToSend | Data to send |
![]() |
static std::string | m_sEmpty | Empty string |
![]() |
static const std::string | m_sWhoisClause | Our whois clause |
![]() |
std::string | m_sWhoisData | The whois data |
![]() |
unsigned long | m_ulDataSize | Data size |
![]() |
ctor for map build | ||
![]() |
CWhoisSocket( BOOL bAsync ) |
Ctor and Dtor |
![]() |
virtual |
![]() |
static CWhoisSocket::AddressVector | AnalyzeAddress( const std::string& rAddress ) |
Break an address |
![]() |
virtual BOOL | Create() |
Create this socket as a regular socket |
![]() |
std::string | ExtractAdditionalWhoisServer( const std::string rWhoisQuery ) const |
Extract the addtional DNS server |
![]() |
const std::string & | GetAdditionalWhoisServer() const |
Get the additional whois server |
![]() |
static std::string | GetAddressForWhois( const std::string& rAddress ) |
Get an address for whois |
![]() |
const std::string & | GetLastTarget() const |
Get the target server |
![]() |
const std::string & | GetWhoisData() const |
Get the whois data |
![]() |
const std::string & | GetWhoisServer( const std::string& rURL ) const |
|
![]() |
virtual BOOL | IsError() const |
Did we have an error |
![]() |
BOOL | IsIPTrace() const |
Get type of trace |
![]() |
virtual BOOL | IsWhoisDone() const |
Are we done |
![]() |
void | ModifyBuffer( char* pBuffer, int iBufferSize ) const |
Modify the buffer |
![]() |
void | ModifyString( std::string& rString ) const |
Process a string and modify it's 10 |
![]() |
virtual BOOL | OnSocketClose( int iErrorCode ) |
|
![]() |
virtual BOOL | OnSocketConnect( int iErrorCode ) |
|
![]() |
virtual BOOL | OnSocketReceive( int iErrorCode ) |
|
![]() |
virtual BOOL | Socket events | |
![]() |
static void | Populate the map | |
![]() |
void | QueryDone( BOOL bError, BOOL bReallocate ) |
Set the query is done |
![]() |
BOOL | Receive data from the whois | |
![]() |
BOOL | SendURL( const std::string& rURL ) |
Send the URL |
![]() |
void | SetWhoisTimeout( DWORD dwMS ) |
Set the timeout |
![]() |
virtual void | WhoisDone( BOOL bError ) |
Overide when the query is done |
![]() |
BOOL | WhoisIP( const std::string& rIP ) |
Trace an IP |
![]() |
BOOL | WhoisIP( IP aAddress ) |
|
![]() |
BOOL | WhoisIP( IP aAddress, const std::string& rWhoisServer ) |
|
![]() |
BOOL | WhoisURL( const std::string& rURL ) |
Trace a URL |
![]() |
BOOL | WhoisURL( const std::string& rURL, const std::string& rWhoisServer ) |
TCPSocketAsync.h | |
map | |
vector |
stdafx.h | for precompiled header directive |
WhoisSocket.h | |
ErrorHandlerMacros.h |
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |