Thank mate! it does work Now I’ll have to read about the possible options and about the SteamNetDriver.
The only problem I still face is that for some reason the “NumPublicConnections” (MaxPlayers) and the “NumOpenPublicConnections” are still the same even though I have 3 clients connected, for a game with max 4 players and 3 clients online I should have “NumOpenPublicConnections” set to 1.
In case anyone happens to come here for the same issue I did this:
FString levelOptions = "listen";
if (bEnableLan)
{
levelOptions.Append("?bIsLanMatch=1");
}
UGameplayStatics::OpenLevel(GetWorld(), "Lobby", true, levelOptions);