version 1.14, 2003/04/20 08:01:26 |
version 1.16, 2016/08/29 04:56:58 |
|
|
@comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.13 2003/04/19 15:44:56 noro Exp $ |
@comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.15 2003/05/16 08:12:58 noro Exp $ |
\BJP |
\BJP |
@node $BJ,;67W;;(B,,, Top |
@node $BJ,;67W;;(B,,, Top |
@chapter $BJ,;67W;;(B |
@chapter $BJ,;67W;;(B |
Line 944 the client executes @code{connect}. |
|
Line 944 the client executes @code{connect}. |
|
@item generate_port([@var{use_unix}]) |
@item generate_port([@var{use_unix}]) |
\JP :: port $B$N@8@.(B |
\JP :: port $B$N@8@.(B |
\EG :: Generates a port number. |
\EG :: Generates a port number. |
@itemx try_bind_listen(@var{port}) |
@item try_bind_listen(@var{port}) |
\JP :: port $B$KBP$7$F(B bind, listen |
\JP :: port $B$KBP$7$F(B bind, listen |
\EG :: Binds and listens on a port. |
\EG :: Binds and listens on a port. |
@itemx try_connect(@var{host},@var{port}) |
@item try_connect(@var{host},@var{port}) |
\JP :: port $B$KBP$7$F(B connect |
\JP :: port $B$KBP$7$F(B connect |
\EG :: Connects to a port. |
\EG :: Connects to a port. |
@itemx try_accept(@var{socket},@var{port}) |
@item try_accept(@var{socket},@var{port}) |
\JP :: connect $BMW5a$r(B accept |
\JP :: connect $BMW5a$r(B accept |
\EG :: Accepts a connection request. |
\EG :: Accepts a connection request. |
@itemx register_server(@var{control_socket},@var{control_port},@var{server_socket},@var{server_port}) |
@item register_server(@var{control_socket},@var{control_port},@var{server_socket},@var{server_port}) |
\JP :: connection $B$N@.N)$7$?(B control socket, server socket $B$NEPO?(B |
\JP :: connection $B$N@.N)$7$?(B control socket, server socket $B$NEPO?(B |
\EG :: Registers the sockets for which connections are established. |
\EG :: Registers the sockets for which connections are established. |
@end table |
@end table |
Line 1466 Finally call @code{ox_get} for a ready process. |
|
Line 1466 Finally call @code{ox_get} for a ready process. |
|
@end itemize |
@end itemize |
|
|
@example |
@example |
[3] ox_rpc(0,"fctr",x^100-y^100); |
[341] ox_cmo_rpc(0,"fctr",x^2-1); |
0 |
0 |
[4] ox_push_cmd(0,258); |
[342] ox_pop_cmo(0); |
|
[[1,1],[x-1,1],[x+1,1]] |
|
[343] ox_cmo_rpc(0,"newvect",3); |
0 |
0 |
[5] ox_select([0]); |
[344] ox_pop_cmo(0); |
[0] |
error([41,cannot convert to CMO object]) |
[6] ox_get(0); |
[345] ox_pop_local(0); |
[[1,1],[x^2+y^2,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],...] |
[ 0 0 0 ] |
@end example |
@end example |
|
|
@table @t |
@table @t |
Line 1543 these functions are prepared to send these data explic |
|
Line 1545 these functions are prepared to send these data explic |
|
Usually @b{OX_SYNC_BALL} will be ignored by the peer. |
Usually @b{OX_SYNC_BALL} will be ignored by the peer. |
\E |
\E |
@end itemize |
@end itemize |
|
|
|
@example |
|
[3] ox_rpc(0,"fctr",x^100-y^100); |
|
0 |
|
[4] ox_push_cmd(0,258); |
|
0 |
|
[5] ox_select([0]); |
|
[0] |
|
[6] ox_get(0); |
|
[[1,1],[x^2+y^2,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],...] |
|
@end example |
|
|
@table @t |
@table @t |
\JP @item $B;2>H(B |
\JP @item $B;2>H(B |