Paul wrote:
Interestingly in Linux, as it implements fd_set with bit mask, i dont think stunnel will be able to support more than 16 pairs of apps (32 descriptors) unless there is some code change explicitly.
fd_set is by default an array of 32 long integers in Linux. See /usr/include/sys/select.h for details.
Best regards, Mike