summaryrefslogtreecommitdiff
path: root/storage/ndb/src/cw/cpcc-win32/csharp/socketcomm/myTcpClient.cs
blob: 9c0d82a0b2710a1b62d441998754acf3dd74c543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.IO;


namespace NDB_CPC.socketcomm
{
	public class myTcpClient : TcpClient
		{
			private Socket s;
			public myTcpClient(): base()
			{
				if(this.Active) 
				{
					s = this.Client;
				}
			}
			public Socket GetUnderlyingSocket()
			{
				return s;
			}
		}
}