version 1.10, 2001/12/28 01:20:25 |
version 1.15, 2002/10/24 02:12:34 |
|
|
%% $OpenXM: OpenXM/src/kan96xx/Doc/httpd-sm1.sm1,v 1.9 2001/08/23 00:49:00 takayama Exp $ |
%% $OpenXM: OpenXM/src/kan96xx/Doc/httpd-sm1.sm1,v 1.14 2002/10/21 00:37:01 takayama Exp $ |
%% http server by sm1 |
%% http server by sm1 |
%% Note to run on the Windows (TM). |
%% Note to run on the Windows (TM). |
%% (A) You need to set IE (internet explorer) as follows: |
%% (A) You need to set IE (internet explorer) as follows: |
|
|
%% On windows. |
%% On windows. |
[(forkExec) |
[(forkExec) |
[ |
[ |
(c:/windows/command/start) |
%%(c:/windows/command/start) |
|
ox.win.start.0 aload pop |
(iexplore) %% Starting internet explorer (TM). |
(iexplore) %% Starting internet explorer (TM). |
[(http://localhost:) httpd.port toString] cat |
[(http://localhost:) httpd.port toString] cat |
] |
] |
|
|
{ |
{ |
[(sm1.socket) (select) [httpd.server.fd 0 get -1]] extension |
[(sm1.socket) (select) [httpd.server.fd 0 get -1]] extension |
%% wait for ever |
%% wait for ever |
[(sm1.socket) (read) [httpd.server.fd 0 get ]] extension /ff set |
[(sm1.socket) (readHTTP) [httpd.server.fd 0 get ]] extension /ff set |
ff length 0 eq { |
ff tag 0 eq { |
(connection is closed.) message |
(connection is closed.) message exit |
} |
} |
{ |
{ |
(------------ start ----------------------) message |
(------------ start ----------------------) message |