Multiplayer Steam LAN - NumOpenPublicConnections does not update

Hey, sorry but where exactly are we suppose to call this from?
sessionInterface->UpdateSession(sessionName, Session->SessionSettings);