C# Class Gwupe.Communication.P2P.P2PUtils

Mostra file Open project: gwupe/Gwupe

Public Methods

Method Description
getIPBytes ( String ip ) : byte[]
getIPString ( byte ipBytes ) : String
getPortBytes ( int port ) : byte[]
getPortInt ( byte port ) : int

Private Methods

Method Description
P2PUtils ( ) : System

Method Details

getIPBytes() public method

public getIPBytes ( String ip ) : byte[]
ip String
return byte[]

getIPString() public method

public getIPString ( byte ipBytes ) : String
ipBytes byte
return String

getPortBytes() public method

public getPortBytes ( int port ) : byte[]
port int
return byte[]

getPortInt() public method

public getPortInt ( byte port ) : int
port byte
return int