diff options
-rw-r--r-- | CSharp/Ivy/IvyPPC/Ivy.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CSharp/Ivy/IvyPPC/Ivy.cs b/CSharp/Ivy/IvyPPC/Ivy.cs index 7d648e0..3340d9b 100644 --- a/CSharp/Ivy/IvyPPC/Ivy.cs +++ b/CSharp/Ivy/IvyPPC/Ivy.cs @@ -539,7 +539,7 @@ namespace IvyBus //
/////////////////////////////////////////////////////////////////:
- internal void addClient(MyTcpClient socket)
+ internal void addClient(Socket socket)
{
if (stopped)
return ;
@@ -661,8 +661,7 @@ namespace IvyBus {
try
{
- Socket sock = app.AcceptSocket();
- MyTcpClient socket = new MyTcpClient(sock);
+ Socket socket = app.AcceptSocket();
if (stopped)
break;
// early disconnexion
|