![]() |
Connect() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: SocketPool.h |
BOOL Connect( const std::string& rAddress, unsigned short usPort);
Add an address to connect to
try { //Allocate the socket CSocketPoolSocket* pSocket; //Do we have an allocator? if (!m_pAllocator) { //Report it ReportError("Connect","No allocator!"); //Exit return FALSE; } //Allocate it pSocket=(*m_pAllocator)(this); //Try to connect return Connect(rAddress, usPort, pSocket); } ERROR_HANDLER_RETURN("Connect",FALSE)
![]() |
Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003. |