Method WithBaselibNetworkInterfaceParameters
WithBaselibNetworkInterfaceParameters(ref NetworkSettings, int, int, uint)
Sets the BaselibNetworkParameter values for the NetworkSettings
Declaration
public static ref NetworkSettings WithBaselibNetworkInterfaceParameters(this ref NetworkSettings settings, int receiveQueueCapacity = 64, int sendQueueCapacity = 64, uint maximumPayloadSize = 2000)
Parameters
Type | Name | Description |
---|---|---|
NetworkSettings | settings | NetworkSettings to modify. |
int | receiveQueueCapacity | |
int | sendQueueCapacity | |
uint | maximumPayloadSize |
Returns
Type | Description |
---|---|
NetworkSettings | Modified NetworkSettings. |