HolyLib Wiki

CNetChan:SetMaxBufferSize

  CNetChan:SetMaxBufferSize( boolean reliable = false, number bytes, boolean voice = false )

Description

Resizes the specified buffer to the given size in bytes.

All data inside that stream is discarded, make sure everything was sent out.

Arguments

1boolean reliable = false

true if the reliable stream should be modified, false if the unreliable stream should be modified

2number bytes

number if bytes to resize to

3boolean voice = false

true if the voice stream should be modified