SetSCTPMaxReceiveBufferSize sets the maximum receive buffer size. Leave this 0 for the default maxReceiveBufferSize.
(maxReceiveBufferSize uint32)
| 600 | // SetSCTPMaxReceiveBufferSize sets the maximum receive buffer size. |
| 601 | // Leave this 0 for the default maxReceiveBufferSize. |
| 602 | func (e *SettingEngine) SetSCTPMaxReceiveBufferSize(maxReceiveBufferSize uint32) { |
| 603 | e.sctp.maxReceiveBufferSize = maxReceiveBufferSize |
| 604 | } |
| 605 | |
| 606 | // EnableSCTPZeroChecksum controls the zero checksum feature in SCTP. |
| 607 | // This removes the need to checksum every incoming/outgoing packet and will reduce |
no outgoing calls