Exemple #1
0
    public void StartConnect(string strIP, int nPort)
    {
        mxObjectElement = new NFObjectElement();

        mxClient      = new NFClientNet(this);
        mxBinMsgEvent = new NFBinraryMessageEvent(this);
        mxSendLogic   = new NFBinarySendLogic(this);
        mxResultLogic = new NFCResultLogic(this);
        mxListener    = new NFCoreExListener(this);
        mxListener.Init();

        mxClient.Connect(strIP, nPort);
    }