sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
107 stars 63 forks source link

Added socket buffer size options to api_config #145

Closed cboulay closed 2 years ago

cboulay commented 2 years ago

This allows setting the TCP socket buffer sizes via lsl_api.cfg

I think the default socket buffer size is different on every platform so instead of assuming a default I just set the default to 0 then only update the socket with the API value if it's larger than 0.

tstenner commented 2 years ago

LGTM :+1: