コード例 #1
0
 public IpcUnixDomainSocketServerTransport(string path, int backlog, IIpcServerTransportCallbackInternal transportCallback = null)
     : base(transportCallback)
 {
     _backlog  = backlog != MaxAllowedConnections ? backlog : (int)SocketOptionName.MaxConnections;
     _endPoint = new IpcUnixDomainSocketEndPoint(path);
     _socket   = CreateNewSocketServer();
 }
コード例 #2
0
 public void Bind(IpcUnixDomainSocketEndPoint localEP)
 {
     base.Bind(localEP);
     _path           = localEP.Path;
     _ownsSocketFile = true;
 }