Method WithPort
WithPort(ushort)
Use the given port number for this endpoint.
Declaration
public NetworkEndPoint WithPort(ushort port)
Parameters
Type | Name | Description |
---|---|---|
ushort | port | The port number. |
Returns
Type | Description |
---|---|
NetworkEndPoint | The endpoint (this). |