int vortex_connection_get_mss ( VortexConnection connection)

Allows to get maximum segment size negociated.

Parameters
connectionThe connection where to get maximum segment size.
Returns
The maximum segment size or -1 if fails. The function is still not portable since the Microsoft Windows API do not allow getting TCP maximum segment size.