Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include | #include "Sockets.h" |
bool SetBroadcast
(
bool bAllowBroadcast
)
Remarks
Sets a socket into broadcast mode (UDP only). true if successful, false otherwise.
Parameters
| Name | Description |
|---|---|
| bAllowBroadcast | Whether to enable broadcast or not. |