|
OxYD Socket | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
class COxYDSocket Basic class.
Field Summary | |
private BOOL |
m_bBrowserRunning
|
private HWND |
m_hWnd
|
private HWND |
m_hWndUrl
|
private int |
m_nLastError
|
private CWnd* m_pWnd,* |
m_pWndUrl
|
private RECT |
m_Rect
|
private CString |
m_strRemoteAddress
|
private CString |
m_strRemotePort
|
private CString |
m_strWindowOldText
|
Constructor Summary | |
COxYDSocket()
The constructor. |
|
~COxYDSocket()
The destructor. |
Method Summary | |
BOOL |
Connect( CString strRemoteAddress, CString strRemotePort )
Initializes OxYD Socket. |
BOOL |
Connect( CString strRemoteAddress, unsigned short nRemotePort )
Initializes OxYD Socket. |
CString |
FormatMessage( int nLastError =-1 )
Get last error string from error number. |
int |
GetLastError()
Get last error number. |
CString |
GetRemoteAddress()
Return remote address. |
CString |
GetRemotePort()
Return remote port. |
BOOL |
IsBrowserRunning()
Check is the browser is already running. |
BOOL |
ReceiveRaw( CString& strTxt )
Receive a packet with OxYD Socket. |
BOOL |
SendRaw( CString strTxt )
Send a packet with OxYD Socket. |
BOOL |
ShutDown()
Shutdown OxYD Socket if still running. |
Field Detail |
private BOOL m_bBrowserRunning;
private HWND m_hWnd;
private HWND m_hWndUrl;
private int m_nLastError;
private CWnd* m_pWnd,* m_pWndUrl;
private RECT m_Rect;
private CString m_strRemoteAddress;
private CString m_strRemotePort;
private CString m_strWindowOldText;
Constructor Detail |
public COxYDSocket();
public ~COxYDSocket();
Method Detail |
public BOOL Connect( CString strRemoteAddress, CString strRemotePort );
strRemoteAddress
- CString : Remote address
strRemotePort
- CString : Remote port (default = 80)public BOOL Connect( CString strRemoteAddress, unsigned short nRemotePort );
strRemoteAddress
- CString : Remote address
nRemotePort
- unsigned short : Remote port (default = 80)public CString FormatMessage( int nLastError =-1 );
public int GetLastError();
public CString GetRemoteAddress();
public CString GetRemotePort();
public BOOL IsBrowserRunning();
public BOOL ReceiveRaw( CString& strTxt );
strTxt
- &CString : String to receivepublic BOOL SendRaw( CString strTxt );
strTxt
- CString : String to sendpublic BOOL ShutDown();
|
OxYD Socket
Generated on January 20, 2003 at 15:57 CppDoc v2.3.0 |
|||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |