public void Init(int id) { recvBufferQueue = new Queue<byte[]>(); ipcInfo = IPCConfig.GetIPCInfo(id); rpcManager = new RPCManager(); rpcManager.Init(); }
private void SendMessage(int dstID, byte[] bytes, int len) { int dstPort = IPCConfig.GetIPCInfo(dstID).Port; IPEndPoint ep = IPUtility.GetHostEndPoint("127.0.0.1", dstPort); currentSocket.SendTo(bytes, 0, len, SocketFlags.None, ep); }