Jaa


PipeServer.connect Method

Definition

Waits for a client to connect to the named pipe.

public:
 virtual bool connect();
public virtual bool connect ();
abstract member connect : unit -> bool
override this.connect : unit -> bool
Public Overridable Function connect () As Boolean

Returns

true if the method succeeds; otherwise, false.

Remarks

If you do not want to block the current thread if it is waiting for a client to connect, avoid using the PipeServer.connect method, and poll by using the PipeServer.read method instead.

Applies to