MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003027VCMIOtherpublic2018-12-04 15:262018-12-04 15:26
ReporterSXX 
Assigned ToSXX 
PriorityhighSeverityblockReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version0.99 
Target VersionFixed in Version 
Summary0003027: Network fail on FreeBSD due to 2MB socket buffer limit while 4MB is used
DescriptionSo I cheated little bit with socket buffer size to be able to sent whole game state over network in one go. I set limit to 4MB which work fine on all Linux, Windows and macOS, but unfortunately FreeBSD have default limit of 2MB buffer on kernel level.

[pre]
     SO_SNDBUF and SO_RCVBUF are options to adjust the normal buffer sizes allocated for output and input buffers,
     respectively. The buffer size may be increased for high-volume connections, or may be decreased to limit the
     possible backlog of incoming data. The system places an absolute maximum on these values, which is accessible
     through the sysctl(3) MIB variable ``kern.ipc.maxsockbuf''.
[/pre]

So this need to be solved one way or another. For now I can decrease limit to 2MB, but then we really need to improve networking to handle sending large amount of serialized data.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-12-04 15:26 SXX New Issue
2018-12-04 15:26 SXX Status new => assigned
2018-12-04 15:26 SXX Assigned To => SXX

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean