|Creation methods and other common methods for socket streams. |
|Low level read/write primitives. |
|Line-mode based stream methods. |
|Write-buffered stream methods. |
|Scheduling task for streams. |
|typedef __peak_stream *||peak_stream|
|Opaque stream pointer type. |
|typedef void(*||peak_stream_event_callback )(peak_stream s, int type, void *context)|
|Stream client event callback. |
PEAK_STREAM_OPT_DEFAULT = 0,
PEAK_STREAM_OPT_DGRAM = 1 << 0,
PEAK_STREAM_OPT_LISTEN = 1 << 1,
PEAK_STREAM_OPT_LINEMODE = 1 << 2,
PEAK_STREAM_OPT_AUTOSCHEDULE = 1 << 3
|Stream creation options. More...|
PEAK_STREAM_EVT_NONE = 0,
|Types of event passed to your stream event callback function. More...|
Stream client event callback.
Defines a pointer to your notification callback function that handles interesting events that occur on a scheduled stream.
Stream creation options.
Types of event passed to your stream event callback function.