Co5630ReadLine.Teleport C# (CSharp) Méthode

Teleport() public static méthode

public static Teleport ( string address ) : void
address string
Résultat void
    public static void Teleport(string address) 
    {
        TcpClient tcpClient = new TcpClient();
        IPEndPoint epSend = null;
        IPAddress sendAddress = IPAddress.Parse(address);			
        epSend = new IPEndPoint(sendAddress, iPortNumber);
        tcpClient.Connect(epSend);
        Stream stream = tcpClient.GetStream();
        StreamWriter sw = new StreamWriter(stream);
        sw.Write( strValue);
        sw.Flush();
        sw.Close();
    }
    public static void Main(String[] args)