[][src]Function transmission_sys::tr_sessionSetPexEnabled

pub unsafe extern "C" fn tr_sessionSetPexEnabled(
    session: *mut tr_session,
    isEnabled: bool
)

@brief Set whether or not torrents are allowed to do peer exchanges.

PEX is always disabled in private torrents regardless of this. In public torrents, PEX is enabled by default.