package gapi-ocaml

  1. Overview
  2. Docs
A simple OCaml client for Google Services

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4.6.tar.gz
sha256=b84b680528a5e050014103a8e7a60a5d43efd5fefc3f838310bd46769775ab48
md5=8ee26acf1f6c6f5e24c7b57fa070a0a2

doc/gapi-ocaml.netstring-local/Netchannels/class-socket_descr/index.html

Class Netchannels.socket_descrSource

Creates a raw_io_channel for the passed socket descriptor, which must * be open for reading and writing, and not yet shut down in either * direction. The raw_io_channel is used to represent a bidirectional * channel: close_out shuts the socket down for sending, close_in * shuts the socket down for reading, and when both directions are down, * the descriptor is closed. * * The pos_in and pos_out methods returns logical positions. * * This class supports sockets and Win32 named pipes. Note, however, * that for Win32 named pipes it is not possible to shut down only one * direction of the bidirectional data channel. * *

  • parameter blocking

    See input_descr and output_descr *

    @param start_pos_in

    The position to which pos_in is initialized when * the channel is created, by default 0 *

    @param start_pos_out

    The position to which pos_out is initialized when * the channel is created, by default 0 *

    @param fd_style

    The descriptor style. If omitted, it is automatically * determined if possible.

OCaml

Innovation. Community. Security.