C# Class PingMonoEditor

Uses C# Socket class from System.Net.Sockets (as Unity usually does).
Incompatible with Windows 8 Store/Phone API.
Inheritance: PhotonPing
ファイルを表示 Open project: daniel-cheng/stellar

Public Methods

Method Description
Dispose ( ) : void
Done ( ) : bool
StartPing ( string ip ) : bool

Sends a "Photon Ping" to a server.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Done() public method

public Done ( ) : bool
return bool

StartPing() public method

Sends a "Photon Ping" to a server.
public StartPing ( string ip ) : bool
ip string Address in IPv4 or IPv6 format. An address containing a '.' will be interpretet as IPv4.
return bool