Esempio n. 1
0
 public privateConversation(string withWho, ClientMW clientMW, NetworkServices netServ)
 {
     this.withWho  = withWho;
     this.clientMW = clientMW;
     this.netServ  = netServ;
     InitializeComponent();
     appendText("Private conversation with " + withWho + ".");
 }
 public privateConversation(string withWho, ClientMW clientMW, NetworkServices netServ)
 {
     this.withWho = withWho;
     this.clientMW = clientMW;
     this.netServ = netServ;
     InitializeComponent();
     appendText("Private conversation with " + withWho + ".");
 }
Esempio n. 3
0
 public NetworkServices(ClientMW clientMW)
 {
     this.clientMW = clientMW;
     m_clientSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
     IPAddress[] ipAddress = Dns.GetHostAddresses("127.0.0.1");
     IPEndPoint ipEnd = new IPEndPoint(ipAddress[0], 8221);
     m_clientSocket.Connect(ipEnd);
     if (m_clientSocket.Connected)
     {
         clientMW._connected = true;
         WaitForData();
     }
 }
Esempio n. 4
0
        public NetworkServices(ClientMW clientMW)
        {
            this.clientMW  = clientMW;
            m_clientSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
            IPAddress[] ipAddress = Dns.GetHostAddresses("127.0.0.1");
            IPEndPoint  ipEnd     = new IPEndPoint(ipAddress[0], 8221);

            m_clientSocket.Connect(ipEnd);
            if (m_clientSocket.Connected)
            {
                clientMW._connected = true;
                WaitForData();
            }
        }
 public fileTransferProtocol(ClientMW clientMW)
 {
     this.clientMW = clientMW;
 }
 public fileTransferProtocol(ClientMW clientMW)
 {
     this.clientMW = clientMW;
 }