Facepunch.Steamworks Wiki

Steamworks.SteamNetworking.IsP2PPacketAvailable

Syntax

static bool IsP2PPacketAvailable( int channel = 0 )

Description

Checks if a P2P packet is available to read, and gets the size of the message if there is one.

Arguments

int channel 0

Returns

bool