Example #1
0
        public void Init(int id)
        {
            m_id   = id;
            m_port = IPCConfig.GetIPCInfo(id).port;

            Init();
        }
Example #2
0
        private void SendMessage(int dst, byte[] bytes, int len)
        {
            int        dstPort = IPCConfig.GetIPCInfo(dst).port;
            IPEndPoint ep      = IPUtils.GetHostEndPoint("127.0.0.1", dstPort);

            m_SystemSocket.SendTo(bytes, 0, len, SocketFlags.None, ep);
        }