summaryrefslogtreecommitdiff
path: root/Server
diff options
context:
space:
mode:
Diffstat (limited to 'Server')
-rw-r--r--Server/App.cs10
-rw-r--r--Server/ClientConnection.cs34
-rw-r--r--Server/LogSingleton.cs40
-rw-r--r--Server/MainWindow.cs76
-rw-r--r--Server/Program.cs19
-rw-r--r--Server/Server.csproj50
-rw-r--r--Server/TcpChatServer.cs50
-rw-r--r--Server/bin/Debug/Eto.Gtk2.dllbin0 -> 314368 bytes
-rw-r--r--Server/bin/Debug/Eto.Gtk3.dllbin0 -> 323584 bytes
-rw-r--r--Server/bin/Debug/Eto.dllbin0 -> 502784 bytes
-rw-r--r--Server/bin/Debug/Server.exebin0 -> 10752 bytes
-rw-r--r--Server/bin/Debug/Server.pdbbin0 -> 2668 bytes
-rw-r--r--Server/bin/Debug/Xwt.Gtk.dllbin0 -> 286720 bytes
-rw-r--r--Server/bin/Debug/Xwt.Gtk.dll.config22
-rw-r--r--Server/bin/Debug/Xwt.dllbin0 -> 414720 bytes
-rw-r--r--Server/bin/Debug/atk-sharp.dll.config8
-rw-r--r--Server/bin/Debug/gdk-sharp.dll.config14
-rw-r--r--Server/bin/Debug/gio-sharp.dll.config10
-rw-r--r--Server/bin/Debug/glib-sharp.dll.config8
-rw-r--r--Server/bin/Debug/gtk-dotnet.dll.config5
-rw-r--r--Server/bin/Debug/gtk-sharp.dll.config12
-rw-r--r--Server/bin/Debug/pango-sharp.dll.config12
-rw-r--r--Server/obj/x86/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs2
-rw-r--r--Server/obj/x86/Debug/Server.csproj.CopyComplete0
-rw-r--r--Server/obj/x86/Debug/Server.csproj.CoreCompileInputs.cache1
-rw-r--r--Server/obj/x86/Debug/Server.csproj.FileListAbsolute.txt9
-rw-r--r--Server/obj/x86/Debug/Server.csproj.FilesWrittenAbsolute.txt13
-rw-r--r--Server/obj/x86/Debug/Server.csprojResolveAssemblyReference.cachebin0 -> 72279 bytes
-rw-r--r--Server/obj/x86/Debug/Server.exebin0 -> 10752 bytes
-rw-r--r--Server/obj/x86/Debug/Server.pdbbin0 -> 2668 bytes
-rw-r--r--Server/packages.config5
31 files changed, 400 insertions, 0 deletions
diff --git a/Server/App.cs b/Server/App.cs
new file mode 100644
index 0000000..8d02d69
--- /dev/null
+++ b/Server/App.cs
@@ -0,0 +1,10 @@
+sing System;
+namespace Server
+{
+ public class App
+ {
+ public App()
+ {
+ }
+ }
+}
diff --git a/Server/ClientConnection.cs b/Server/ClientConnection.cs
new file mode 100644
index 0000000..f2d8976
--- /dev/null
+++ b/Server/ClientConnection.cs
@@ -0,0 +1,34 @@
+using System;
+using System.IO;
+using System.Net.Sockets;
+using System.Threading.Tasks;
+
+namespace Server
+{
+ public class ClientConnection
+ {
+ public StreamReader StreamReader { get; set; }
+ public StreamWriter StreamWriter { get; set; }
+
+ public ClientConnection(TcpListener listener)
+ {
+ TcpClient connectionSocket = listener.AcceptTcpClient();
+ NetworkStream ns = connectionSocket.GetStream();
+ StreamReader = new StreamReader(ns);
+ StreamWriter = new StreamWriter(ns);
+ StreamWriter.AutoFlush = true;
+ Task.Run(() => EchoService(StreamReader, StreamWriter));
+ }
+
+ private async Task EchoService(StreamReader sr, StreamWriter sw)
+ {
+ while (true)
+ {
+ string message = await sr.ReadLineAsync();
+ LogSingleton.Instance.Log += $"{message}\n";
+ foreach (ClientConnection client in LogSingleton.Instance.ConnectedClients) client.StreamWriter.WriteLine(message);
+ message = "";
+ }
+ }
+ }
+}
diff --git a/Server/LogSingleton.cs b/Server/LogSingleton.cs
new file mode 100644
index 0000000..158440d
--- /dev/null
+++ b/Server/LogSingleton.cs
@@ -0,0 +1,40 @@
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Runtime.CompilerServices;
+
+namespace Server
+{
+ public class LogSingleton : INotifyPropertyChanged
+ {
+ private static LogSingleton _instance;
+ public static LogSingleton Instance => _instance ?? (_instance = new LogSingleton());
+
+ private string log;
+ public string Log
+ {
+ get
+ {
+ return log;
+ }
+ set
+ {
+ log = value;
+ OnPropertyChanged();
+ }
+ }
+
+ public List<ClientConnection> ConnectedClients { get; set; }
+
+ private LogSingleton()
+ {
+ ConnectedClients = new List<ClientConnection>();
+ }
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
+ {
+ PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+}
diff --git a/Server/MainWindow.cs b/Server/MainWindow.cs
new file mode 100644
index 0000000..e8974d2
--- /dev/null
+++ b/Server/MainWindow.cs
@@ -0,0 +1,76 @@
+using System;
+using Xwt;
+using Xwt.Formats;
+
+namespace Server
+{
+ public class MainWindow : Window
+ {
+ TcpChatServer tcpChatServer;
+
+ public MainWindow()
+ {
+ Title = "TCP Chat X Server";
+ Width = 600;
+ Height = 400;
+
+ VBox mainVBox;
+ HBox connectionHBox, messageHBox;
+ TextEntry ipTextEntry = new TextEntry
+ {
+ PlaceholderText = "IP Address",
+ Text = "127.0.0.1",
+ };
+ TextEntry portTextEntry = new TextEntry
+ {
+ WidthRequest = 100,
+ PlaceholderText = "Port",
+ Text = "6789"
+ };
+ Button startButton = new Button
+ {
+ Label = "Start"
+ };
+ startButton.Clicked += (object sender, EventArgs e) =>
+ {
+ tcpChatServer = new TcpChatServer();
+ tcpChatServer.Start(ipTextEntry.Text, int.Parse(portTextEntry.Text));
+ };
+ RichTextView outputTextView = new RichTextView
+ {
+ ExpandHorizontal = true,
+ ExpandVertical = true,
+ MinHeight = 200
+ };
+ LogSingleton.Instance.PropertyChanged += (sender, args) =>
+ outputTextView.LoadText(LogSingleton.Instance.Log, TextFormat.Plain);
+
+ TextEntry messageTextEntry = new TextEntry()
+ {
+ PlaceholderText = "Message"
+ };
+ Button sendButton = new Button
+ {
+ Label = "Send"
+ };
+ sendButton.Clicked += (object sender, EventArgs e) =>
+ {
+ tcpChatServer.SendMessage($"Server: {messageTextEntry.Text}");
+ messageTextEntry.Text = "";
+ };
+
+ Content = mainVBox = new VBox();
+
+ mainVBox.PackStart(connectionHBox = new HBox());
+ connectionHBox.PackStart(ipTextEntry , true);
+ connectionHBox.PackStart(portTextEntry);
+ connectionHBox.PackStart(startButton);
+
+ mainVBox.PackStart(outputTextView, true, true);
+
+ mainVBox.PackStart(messageHBox = new HBox());
+ messageHBox.PackStart(messageTextEntry, true, true);
+ messageHBox.PackStart(sendButton);
+ }
+ }
+}
diff --git a/Server/Program.cs b/Server/Program.cs
new file mode 100644
index 0000000..35bf5e4
--- /dev/null
+++ b/Server/Program.cs
@@ -0,0 +1,19 @@
+using System;
+using Xwt;
+
+namespace Server
+{
+ class Program
+ {
+ [STAThread]
+ static void Main()
+ {
+ Application.Initialize();
+ var mainWindow = new MainWindow();
+ mainWindow.Show();
+ Application.Run();
+ mainWindow.Dispose();
+ }
+ }
+
+}
diff --git a/Server/Server.csproj b/Server/Server.csproj
new file mode 100644
index 0000000..5b68532
--- /dev/null
+++ b/Server/Server.csproj
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="..\packages\Xwt.Gtk.0.2.40\build\Xwt.Gtk.props" Condition="Exists('..\packages\Xwt.Gtk.0.2.40\build\Xwt.Gtk.props')" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+ <ProjectGuid>{8CB98A13-75A8-42B1-9E03-4FA3ABCEAA3B}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>Server</RootNamespace>
+ <AssemblyName>Server</AssemblyName>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="Program.cs" />
+ <Compile Include="MainWindow.cs" />
+ <Compile Include="ClientConnection.cs" />
+ <Compile Include="LogSingleton.cs" />
+ <Compile Include="TcpChatServer.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="Xwt">
+ <HintPath>..\packages\Xwt.0.2.40\lib\net40\Xwt.dll</HintPath>
+ </Reference>
+ <Reference Include="Xwt.Gtk">
+ <HintPath>..\packages\Xwt.Gtk.0.2.40\lib\net40\Xwt.Gtk.dll</HintPath>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+</Project> \ No newline at end of file
diff --git a/Server/TcpChatServer.cs b/Server/TcpChatServer.cs
new file mode 100644
index 0000000..986bbf1
--- /dev/null
+++ b/Server/TcpChatServer.cs
@@ -0,0 +1,50 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Net;
+using System.Net.Sockets;
+using System.Threading.Tasks;
+
+namespace Server
+{
+ public class TcpChatServer
+ {
+ TcpListener serverSocket;
+
+ public void Start(string ipAddress, int port)
+ {
+ try
+ {
+ serverSocket = new TcpListener(IPAddress.Parse(ipAddress), port);
+ serverSocket.Start();
+ LogSingleton.Instance.Log += "Server started.\n";
+ Task.Run(() => Listen(serverSocket));
+ LogSingleton.Instance.Log += "Waiting for connections...\n";
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine(ex.Message);
+ }
+ }
+
+ private void Listen(TcpListener listener)
+ {
+ while (true)
+ {
+ ClientConnection cc = new ClientConnection(listener);
+ LogSingleton.Instance.ConnectedClients.Add(cc);
+ }
+ }
+
+ public void Stop()
+ {
+ serverSocket.Stop();
+ LogSingleton.Instance.Log += "Server stopped\n";
+ }
+
+ public void SendMessage(string message)
+ {
+ foreach (ClientConnection client in LogSingleton.Instance.ConnectedClients) client.StreamWriter.WriteLine(message);
+ }
+ }
+}
diff --git a/Server/bin/Debug/Eto.Gtk2.dll b/Server/bin/Debug/Eto.Gtk2.dll
new file mode 100644
index 0000000..c0fddb7
--- /dev/null
+++ b/Server/bin/Debug/Eto.Gtk2.dll
Binary files differ
diff --git a/Server/bin/Debug/Eto.Gtk3.dll b/Server/bin/Debug/Eto.Gtk3.dll
new file mode 100644
index 0000000..21bbb3d
--- /dev/null
+++ b/Server/bin/Debug/Eto.Gtk3.dll
Binary files differ
diff --git a/Server/bin/Debug/Eto.dll b/Server/bin/Debug/Eto.dll
new file mode 100644
index 0000000..306ef1d
--- /dev/null
+++ b/Server/bin/Debug/Eto.dll
Binary files differ
diff --git a/Server/bin/Debug/Server.exe b/Server/bin/Debug/Server.exe
new file mode 100644
index 0000000..482894d
--- /dev/null
+++ b/Server/bin/Debug/Server.exe
Binary files differ
diff --git a/Server/bin/Debug/Server.pdb b/Server/bin/Debug/Server.pdb
new file mode 100644
index 0000000..a70dc58
--- /dev/null
+++ b/Server/bin/Debug/Server.pdb
Binary files differ
diff --git a/Server/bin/Debug/Xwt.Gtk.dll b/Server/bin/Debug/Xwt.Gtk.dll
new file mode 100644
index 0000000..b80892c
--- /dev/null
+++ b/Server/bin/Debug/Xwt.Gtk.dll
Binary files differ
diff --git a/Server/bin/Debug/Xwt.Gtk.dll.config b/Server/bin/Debug/Xwt.Gtk.dll.config
new file mode 100644
index 0000000..f1630bb
--- /dev/null
+++ b/Server/bin/Debug/Xwt.Gtk.dll.config
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <dllmap os="!windows,osx" dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libatk-1.0-0.dll" target="libatk-1.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libpango-1.0-0.dll" target="libpango-1.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libpangocairo-1.0-0.dll" target="libpangocairo-1.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libwebkitgtk-1.0-0.dll" target="libwebkitgtk-1.0.so.0"/>
+ <dllmap os="!windows,osx" dll="fontconfig" target="libfontconfig.so.1"/>
+
+ <dllmap os="osx" dll="libglib-2.0-0.dll" target="libglib-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libatk-1.0-0.dll" target="libatk-1.0.0.dylib"/>
+ <dllmap os="osx" dll="libgtk-win32-2.0-0.dll" target="libgtk-quartz-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libgdk-win32-2.0-0.dll" target="libgdk-quartz-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libpango-1.0-0.dll" target="libpango-1.0.0.dylib"/>
+ <dllmap os="osx" dll="libpangocairo-1.0-0.dll" target="libpangocairo-1.0.0.dylib"/>
+ <dllmap os="osx" dll="libwebkitgtk-1.0-0.dll" target="libwebkitgtk-1.0.0.dylib"/>
+ <dllmap os="osx" dll="fontconfig" target="libfontconfig.1.dylib"/>
+</configuration>
diff --git a/Server/bin/Debug/Xwt.dll b/Server/bin/Debug/Xwt.dll
new file mode 100644
index 0000000..c50a574
--- /dev/null
+++ b/Server/bin/Debug/Xwt.dll
Binary files differ
diff --git a/Server/bin/Debug/atk-sharp.dll.config b/Server/bin/Debug/atk-sharp.dll.config
new file mode 100644
index 0000000..671f620
--- /dev/null
+++ b/Server/bin/Debug/atk-sharp.dll.config
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <dllmap os="!windows,osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
+ <dllmap os="osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.0.dylib"/>
+
+ <dllmap os="!windows,osx" dll="libatk-1.0-0.dll" target="libatk-1.0.so.0"/>
+ <dllmap os="osx" dll="libatk-1.0-0.dll" target="libatk-1.0.0.dylib"/>
+</configuration>
diff --git a/Server/bin/Debug/gdk-sharp.dll.config b/Server/bin/Debug/gdk-sharp.dll.config
new file mode 100644
index 0000000..00917fd
--- /dev/null
+++ b/Server/bin/Debug/gdk-sharp.dll.config
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <dllmap os="!windows,osx" dll="libgio-2.0-0.dll" target="libgio-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgdk-3-0.dll" target="libgdk-3.so.0"/>
+ <dllmap os="!windows,osx" dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.so.0"/>
+
+ <dllmap os="osx" dll="libgio-2.0-0.dll" target="libgio-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libglib-2.0-0.dll" target="libglib-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libgdk-3-0.dll" target="libgdk-quartz-3.0.0.dylib"/>
+ <dllmap os="osx" dll="libgdk_pixbuf-2.0-0.dll" target="libgdk_pixbuf-2.0.0.dylib"/>
+</configuration>
diff --git a/Server/bin/Debug/gio-sharp.dll.config b/Server/bin/Debug/gio-sharp.dll.config
new file mode 100644
index 0000000..47c0700
--- /dev/null
+++ b/Server/bin/Debug/gio-sharp.dll.config
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <dllmap os="!windows,osx" dll="libgio-2.0-0.dll" target="libgio-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
+
+ <dllmap os="osx" dll="libgio-2.0-0.dll" target="libgio-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libglib-2.0-0.dll" target="libglib-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.0.dylib"/>
+</configuration>
diff --git a/Server/bin/Debug/glib-sharp.dll.config b/Server/bin/Debug/glib-sharp.dll.config
new file mode 100644
index 0000000..2fd9ec4
--- /dev/null
+++ b/Server/bin/Debug/glib-sharp.dll.config
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <dllmap os="!windows,osx" dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
+
+ <dllmap os="osx" dll="libglib-2.0-0.dll" target="libglib-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.0.dylib"/>
+</configuration>
diff --git a/Server/bin/Debug/gtk-dotnet.dll.config b/Server/bin/Debug/gtk-dotnet.dll.config
new file mode 100644
index 0000000..ebd8040
--- /dev/null
+++ b/Server/bin/Debug/gtk-dotnet.dll.config
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <dllmap os="!windows,osx" dll="libgdk-3-0.dll" target="libgdk-3.so.0"/>
+ <dllmap os="osx" dll="libgdk-3-0.dll" target="libgdk-quartz-3.0.0.dylib"/>
+</configuration>
diff --git a/Server/bin/Debug/gtk-sharp.dll.config b/Server/bin/Debug/gtk-sharp.dll.config
new file mode 100644
index 0000000..2914bb7
--- /dev/null
+++ b/Server/bin/Debug/gtk-sharp.dll.config
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <dllmap os="!windows,osx" dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libatk-1.0-0.dll" target="libatk-1.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgtk-3-0.dll" target="libgtk-3.so.0"/>
+
+ <dllmap os="osx" dll="libglib-2.0-0.dll" target="libglib-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libatk-1.0-0.dll" target="libatk-1.0.0.dylib"/>
+ <dllmap os="osx" dll="libgtk-3-0.dll" target="libgtk-3.0.dylib"/>
+</configuration>
diff --git a/Server/bin/Debug/pango-sharp.dll.config b/Server/bin/Debug/pango-sharp.dll.config
new file mode 100644
index 0000000..2ec8168
--- /dev/null
+++ b/Server/bin/Debug/pango-sharp.dll.config
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <dllmap os="!windows,osx" dll="libglib-2.0-0.dll" target="libglib-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libpango-1.0-0.dll" target="libpango-1.0.so.0"/>
+ <dllmap os="!windows,osx" dll="libpangocairo-1.0-0.dll" target="libpangocairo-1.0.so.0"/>
+
+ <dllmap os="osx" dll="libglib-2.0-0.dll" target="libglib-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libgobject-2.0-0.dll" target="libgobject-2.0.0.dylib"/>
+ <dllmap os="osx" dll="libpango-1.0-0.dll" target="libpango-1.0.0.dylib"/>
+ <dllmap os="osx" dll="libpangocairo-1.0-0.dll" target="libpangocairo-1.0.0.dylib"/>
+</configuration>
diff --git a/Server/obj/x86/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs b/Server/obj/x86/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs
new file mode 100644
index 0000000..fdcb678
--- /dev/null
+++ b/Server/obj/x86/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs
@@ -0,0 +1,2 @@
+// <autogenerated />
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = "")]
diff --git a/Server/obj/x86/Debug/Server.csproj.CopyComplete b/Server/obj/x86/Debug/Server.csproj.CopyComplete
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Server/obj/x86/Debug/Server.csproj.CopyComplete
diff --git a/Server/obj/x86/Debug/Server.csproj.CoreCompileInputs.cache b/Server/obj/x86/Debug/Server.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..b760382
--- /dev/null
+++ b/Server/obj/x86/Debug/Server.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+288dbf2ed052e53bd705274b9a599fcb3c80460a
diff --git a/Server/obj/x86/Debug/Server.csproj.FileListAbsolute.txt b/Server/obj/x86/Debug/Server.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..531304f
--- /dev/null
+++ b/Server/obj/x86/Debug/Server.csproj.FileListAbsolute.txt
@@ -0,0 +1,9 @@
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Server.exe
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Server.pdb
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Xwt.dll
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/obj/x86/Debug/Server.csproj.CoreCompileInputs.cache
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/obj/x86/Debug/Server.exe
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/obj/x86/Debug/Server.pdb
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Xwt.Gtk.dll.config
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Xwt.Gtk.dll
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/obj/x86/Debug/Server.csprojResolveAssemblyReference.cache
diff --git a/Server/obj/x86/Debug/Server.csproj.FilesWrittenAbsolute.txt b/Server/obj/x86/Debug/Server.csproj.FilesWrittenAbsolute.txt
new file mode 100644
index 0000000..5ab07d3
--- /dev/null
+++ b/Server/obj/x86/Debug/Server.csproj.FilesWrittenAbsolute.txt
@@ -0,0 +1,13 @@
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/obj/x86/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Eto.dll
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Eto.Gtk3.dll
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Server.pdb
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Server.exe
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/obj/x86/Debug/Server.exe
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/obj/x86/Debug/Server.pdb
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Eto.Gtk2.dll
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Xwt.Gtk.dll.config
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Xwt.dll
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Xwt.Gtk.dll
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Xwt.WPF.dll
+/home/marcin/MonoDevelop Projects/TcpChatX/Server/bin/Debug/Xwt.Gtk.Windows.dll
diff --git a/Server/obj/x86/Debug/Server.csprojResolveAssemblyReference.cache b/Server/obj/x86/Debug/Server.csprojResolveAssemblyReference.cache
new file mode 100644
index 0000000..0cdf7de
--- /dev/null
+++ b/Server/obj/x86/Debug/Server.csprojResolveAssemblyReference.cache
Binary files differ
diff --git a/Server/obj/x86/Debug/Server.exe b/Server/obj/x86/Debug/Server.exe
new file mode 100644
index 0000000..482894d
--- /dev/null
+++ b/Server/obj/x86/Debug/Server.exe
Binary files differ
diff --git a/Server/obj/x86/Debug/Server.pdb b/Server/obj/x86/Debug/Server.pdb
new file mode 100644
index 0000000..a70dc58
--- /dev/null
+++ b/Server/obj/x86/Debug/Server.pdb
Binary files differ
diff --git a/Server/packages.config b/Server/packages.config
new file mode 100644
index 0000000..5714f0f
--- /dev/null
+++ b/Server/packages.config
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Xwt" version="0.2.40" targetFramework="net45" />
+ <package id="Xwt.Gtk" version="0.2.40" targetFramework="net45" />
+</packages> \ No newline at end of file