Module Mpd.Connection
val initialize : string -> int -> tCreate the connection, exit if the connection can not be initialized.
val hostname : t -> stringRetrieve the host's string of the initialized connection.
val port : t -> intRetrieve the port of the connection of the initialized connection.
val close : t -> unitClose the connection
val write : t -> string -> unitWrite to an Mpd connection
val read_mpd_banner : t -> stringRead in an Mpd connection
val read_request_response : t -> stringRead a Mpd response to a request.
val read_command_response : t -> stringRead a Mpd response to a command.