Sack Library Documentation
|
IMPORT_METHOD PCLIENT ConnectUDPEx(CTEXTSTR, _16, CTEXTSTR, _16, cReadCompleteEx, cCloseCallback DBG_PASS);
Parameters |
Description |
address |
Address to listen at (interface specification). Can be NULL to specify ANY address, See notes on CreateSockAddress. |
port |
16 bit port to listen at |
dest_address |
Address to connect to. Can be NULL to specify ANY address, See notes on CreateSockAddress. |
dest_port |
16 bit port to send to. Ignored if dest_address is NULL. |
read_complete |
User event handler which is invoked when data is read from the socket. |
close_callback |
user event handler which is invoked when this socket is closed. |
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.
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|