Share via


PipeServer.connect Method

Waits for a client to connect to the named pipe.

Syntax

public boolean connect()

Run On

Called

Return Value

Type: boolean
true if the method succeeded; otherwise, false.

Remarks

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

See Also

PipeServer Class

PipeServer.read Method