Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::network::tcp::OpenTCPClientAddrExxx Function
C++
IMPORT_METHOD PCLIENT OpenTCPClientAddrExxx(SOCKADDR * lpAddr, cReadComplete pReadComplete, cCloseCallback CloseCallback, cWriteComplete WriteComplete, cConnectCallback pConnectComplete DBG_PASS);
Parameters 
Description 
SOCKADDR * lpAddr 
_nt_ 
cReadComplete pReadComplete 
user callback which is invoked when a buffer now contains data. 
cCloseCallback CloseCallback 
user callback when this socket is closed. 
cWriteComplete WriteComplete 
user callback which is invoked when a write operation completes. 
lpName 
lpName and wPort are passed to CreateSockAddress, and that address is passed as a lpAddr. 
wPort 
lpName and wPort are passed to CreateSockAddress, and that address is passed as a lpAddr. 
pConnectComplete 
user callback which is called when this client connects. The callback gets this network connection as the first parameter. 

NULL if no clients available, or if address bind on listen side fails. 

otherwise is a valid network connection to send and receive UDP data on. 

The read_complete callback, if specified, will be called, with a NULL pointer and 0 size, before the connect complete.

Opens a socket which connects to an already existing, listening, socket.

WriteComplete is often unused, unless you are using bMsg option on do

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!