ƒCƒtƒRƒ“ƒsƒ…[ƒ^ > MINERVA > ƒ}ƒjƒ…ƒAƒ‹ > ƒŒƒtƒ@ƒŒƒ“ƒX > qŒκ > ”z•z‚³‚κ‚½MinervaƒvƒƒZƒXŠΤ‚̒ʐM > send/2

send/2

MINERVA
ifcomputer logo
f
Expert Services on the Web

Transmits a Minerva term over a binary output stream

send(+Stream, +Term)

send/2 transmits a Minerva term over a binary output stream. Transmitted terms may be read with receive/2.

Arguments

Stream             binary output stream
Term               term

Examples

main(_) :-
    ...
    client_start(localhost, 1352, Socket),
    open(Socket, read, Input, [socket,buffered,binary]),
    open(Socket, write, Output, [socket,buffered,binary]),
    send(Output, SomeRequest),
    receive(Input, SomeAnswer),
    ...

See also

server_start/4, server_stop/1, client_start/3, client_stop/1, listener_start/3, listener_stop/1, send/2, receive/2.

document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Predicates/sockets/send/print_jp.html
published 2008/10/6 update 2002/3/19 (c) 1996-2006 IF Computer Japan
IF Computer §113-0022 Tel 03-5814-3352 start (AT) ifcomputer.com
Customer Support “Œ‹ž“s•Ά‹ž‹ζη‘Κ–Ψ5-28-2   http://www.ifcomputer.co.jp
–ί‚ι> managed with ubiCMS