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