Navigation
API > API/Runtime > API/Runtime/Networking > API/Runtime/Networking/FTcpSocketBuilder
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/TcpSocketBuilder.h |
| Include Path | #include "Common/TcpSocketBuilder.h" |
FTcpSocketBuilder BoundToPort
(
uint16 Port
)
This instance (for method chaining).
Parameters
| Name | Remarks |
|---|---|
| Port | The local port number to bind the socket to. |