Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::network::tcp::OpenTCPListenerAddrExx Function
C++
IMPORT_METHOD PCLIENT OpenTCPListenerAddrExx(SOCKADDR *, cNotifyCallback NotifyCallback DBG_PASS);
Parameters 
Description 
Address 
address to serve at. See CreateSockAddress(). 
Port 
specified the port to listen at. This family that takes just a port FAILS if there are multiple network interfaces and or virtual private networks. 
NotifyCallback 
user callback which will be invoked when a new connection to the TCP server has been made. 

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 TCP socket which listens for connections. Other TCP sockets may be connected to this one once it has been created.

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!