Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::network::udp::ServeUDPAddrEx Function
C++
IMPORT_METHOD PCLIENT ServeUDPAddrEx(SOCKADDR * pAddr, cReadCompleteEx pReadComplete, cCloseCallback Close DBG_PASS);
Parameters 
Description 
SOCKADDR * pAddr 
address to listen for UDP messages on. 
cReadCompleteEx pReadComplete 
user callback to received read events. 
Close 
user callback to be invoked when the network connection is closed. (network interface disabled?) 

NULL if no sockets are available, or the bind fails. (consult log?) 

returns a network connection which is listening on the specified address. The read complete will be called. if it is specified, before this function returns.

NETWORK_PROC( PCLIENT, ServeUDP )( CTEXTSTR pAddr, _16 wPort, cReadCompleteEx pReadComplete, cCloseCallback Close); NETWORK_PROC( PCLIENT, ServeUDP )( CTEXTSTR pAddr, _16 wPort, cReadCompleteEx pReadComplete, cCloseCallback Close); Creates a client to listen for messages or to send UDP messages.

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!