Dateien nach / verschoben

This commit is contained in:
2014-03-27 11:49:39 +01:00
parent 161bd6c226
commit e3c670b156
4 changed files with 0 additions and 0 deletions

21
Sender.cs Normal file
View File

@@ -0,0 +1,21 @@
using System;
using System.IO;
using System.Net.Sockets;
using System.Text;
public class Sender
{
private TcpClient Client;
public Sender (TcpClient client)
{
this.Client = client;
}
public void Send (String message)
{
StreamWriter writer = new StreamWriter(Client.GetStream());
writer.WriteLine(message);
writer.Flush();
}
}