BitCoinClient.NodeConnection.Connect C# (CSharp) Method

Connect() private method

private Connect ( string nodeAddress, ushort port = 8333 ) : void
nodeAddress string
port ushort
return void
        void Connect(string nodeAddress, ushort port = 8333)
        {
            // Connect to remote host
            mSocket.Connect(nodeAddress, port);

            // Start the read thread
            mThread.Start();

            // Send version packet
            SendVersionPacket();
        }