Reads a vconnection.
INKVIO INKVConnRead (INKVConn
connp
, INKCont
contp
, INKIOBuffer
bufp
, int
nbytes
)
Initiates a read operation on the vconnection
. The read
operation writes into the buffer
connp
. The continuation
bufp
is called
back with either contp
INK_EVENT_ERROR
,
INK_EVENT_VCONN_READ_READY
,
INK_EVENT_VCONN_READ_COMPLETE
, or
INK_EVENT_VCONN_EOS
(refer to the vconnection user’s view for more information about
these events). The number of bytes to read is specified by the
parameter. nbytes
A handle to the vconnection.
INK_ERROR_PTR
if an error occurs.