Topic on PCGamingWiki talk:Editing guide/Network
This is a permanent link to the first version of this post.
You can view later versions on the post history page.
I would have suggested to look at the ping. If the "hoster" has 0, then it is selfhosting. If both have a notable ping, it is P2P. Or dedicated, but in that case, they are aware of joining a server (except maybe via matchmaking).
Thank you for your long answers and explanations!