Navigation
API > API/Runtime > API/Runtime/Networking > API/Runtime/Networking/FUdpSocketBuilder
Description
Sets the local port to bind the socket to.
Unless specified in a subsequent call to BoundToAddress(), the local address will be determined automatically by the underlying provider.
| Name | BoundToPort |
| Type | function |
| Header File | /Engine/Source/Runtime/Networking/Public/Common/UdpSocketBuilder.h |
| Include Path | #include "Common/UdpSocketBuilder.h" |
FUdpSocketBuilder & BoundToPort
(
uint16 Port
)
This instance (for method chaining).
Parameters
| Name | Remarks |
|---|---|
| Port | The local port number to bind the socket to. |