Include file: xnpipe.h
Parent class: XIO
Overview
Functions
Return-Value
| LONG state | possible values:
| XNPIPE_STATE_DISCONNECTED
|
| XNPIPE_STATE_LISTENING
|
| XNPIPE_STATE_CONNECTED
|
| XNPIPE_STATE_CLOSING
|
|
Remarks
Query the state of a pipeserver
Remarks
Wait for a client
Remarks
Frees a pipe when a client has stoped data-transfer ( if GetState() returns XNPIPE_STATE_CLOSING).
After DisConnect() you can call Connect() to wait for the next client or Close().
Parameters
| char * name | pipename, without leading '\\PIPE\\'
|
| ULONG openMode | mode to open (see OS/2 docs):
| XNPIPE_ACCESS_INBOUND
|
| XNPIPE_ACCESS_OUTBOUND
|
| XNPIPE_ACCESS_DUPLEX
|
| XNPIPE_INHERIT
|
| XNPIPE_NOINHERIT
|
| XNPIPE_WRITEBEHIND
|
| XNPIPE_NOWRITEBEHIND
|
|
| ULONG pipeMode | mode of data-transfer:
| XNPIPE_READMODE_BYTE
|
| XNPIPE_READMODE_MESSAGE
|
| XNPIPE_TYPE_BYTE
|
| XNPIPE_TYPE_MESSAGE
|
| XNPIPE_WAIT
|
| XNPIPE_NOWAIT
|
|
| char pipeCount | maximum instances of pipe-servers, -1 = unlimited (default is 1)
|
| ULONG outSize | size of write-buffer
|
| ULONG inSize | size of read-buffer
|
| ULONG timeOut | time to wait for clients
|
Remarks
Open a pipe, after you have opened it call Connect()
This document was generated by Jens von Pilgrim's Autodoc