Zen API
zSocket_EnableBroadcast
C
zStatus zSocket_EnableBroadcast(zSocket socket, zBool broadcast);
Parameters
Parameters 
Description 
zSocket socket 
zSocket object. 
zBool broadcast 
zTRUE to enable broadcasts; zFALSE otherwise. 
Description

Enables or disables datagram broadcasting.

This function is typically used in conjunction with a UDP socket that is bound to a local address. Sending to zIP_ADDRESS_BROADCAST will broadast a datagram on the subnet associated with the bound address. 

This option is disabled by default.

File

zSocket.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.