package hardcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

basic TCP communications between client (simulation) and server (hardcaml)

val create_client : Base.String.t -> Base.Int.t -> Unix.file_descr
val create_server : Base.String.t -> Base.Int.t -> Unix.file_descr
val accept_client : Unix.file_descr -> Unix.file_descr
val send_string : Unix.file_descr -> Base.String.t -> Base.Int.t
val recv_string : Unix.file_descr -> Base.String.t
val recv_string_is : Unix.file_descr -> Base.String.t -> Base.Unit.t
OCaml

Innovation. Community. Security.