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)