Facepunch.Steamworks Wiki

Steamworks.SteamNetworking.CloseP2PSessionWithUser

Syntax

static bool CloseP2PSessionWithUser( SteamId user )

Description

This should be called when you're done communicating with a user, as this will free up all of the resources allocated for the connection under-the-hood. If the remote user tries to send data to you again, a new OnP2PSessionRequest callback will be posted

Arguments

SteamId user

Returns

bool