C# Class Gwupe.Communication.P2P.P2PUtils

Afficher le fichier Open project: gwupe/Gwupe

Méthodes publiques

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

Private Methods

Méthode Description
P2PUtils ( ) : System

Method Details

getIPBytes() public méthode

public getIPBytes ( String ip ) : byte[]
ip String
Résultat byte[]

getIPString() public méthode

public getIPString ( byte ipBytes ) : String
ipBytes byte
Résultat String

getPortBytes() public méthode

public getPortBytes ( int port ) : byte[]
port int
Résultat byte[]

getPortInt() public méthode

public getPortInt ( byte port ) : int
port byte
Résultat int