Auservertest

From Rsewiki
Revision as of 11:48, 23 February 2011 by Jca (talk | contribs) (New page: The auservertest is a server that makes a port available, but just displayes on the console what is received (with a timestamp). To start the auservertest opening a 24920 port use: $ au...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The auservertest is a server that makes a port available, but just displayes on the console what is received (with a timestamp).

To start the auservertest opening a 24920 port use:

$ auservertest -p 24920
uServer-2.617 (Feb 21 2011 19:18:43 jca@oersted.dtu.dk)
 - on port 24920
 - h=help, q=quit, p=print client status
>> Got new client (127.0.0.1)
New namespace: 'cam' from '<cam name="cam" version="200">'
1298457617.401097 (11:40:17.401) client 0:
push t=4 imageget
1298457617.401104 (11:40:17.401) client 0:
push t=3 cmd='var allcopy'
>> 
>> p
Default client is 0
status:on smr1 port 24920  running, has 1 clients (rx loops 193) verbose false
 - clnt#0 is active (127.0.0.1) last rx 11:40:55.894 rxMsg 52 txCnt 48 skip'd  0
          namespace: '<cam name="cam" version="200">'
 - rxQueue queue is empty (out 2, in 2)

In this example the etst secket server is started on port 24920.

Then one client client connects to the port and sends the XML opening tags (these are not needed, but is recognized by the auservertest.

After this two text lines (commands) are send from client 0: "push t=4 imageget" and "push t=3 cmd='var allcopy'", each followed by a newline (not shown).

Each text line is preceded with a timatag, as:

1298457617.401097 (11:40:17.401) client 0: