net-sessions
Posted: Tue Apr 29, 2008 3:03 pm
Hi Lutz,
This is the output of my tcp server (net-sessions)
I would assume these to be cleared when server closes client before client-ACK.?
Is this filling up newlisp memory? or is it just a visual thing?
(5 4)
(5 5 4)
(5 5 5 4)
(5 5 5 5 4)
(5 5 5 5 5 4)
(5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
--- code
(set 'server (net-listen 12345 "11.11.11.11"))
(while (set 'client (net-accept server))
(net-send client (string "\r\n"))
(close client)
(println (net-sessions)))
-- remote does => telnet 11.11.11.11 12345
-- client get message
-- server drops session
This is the output of my tcp server (net-sessions)
I would assume these to be cleared when server closes client before client-ACK.?
Is this filling up newlisp memory? or is it just a visual thing?
(5 4)
(5 5 4)
(5 5 5 4)
(5 5 5 5 4)
(5 5 5 5 5 4)
(5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
(5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 4)
--- code
(set 'server (net-listen 12345 "11.11.11.11"))
(while (set 'client (net-accept server))
(net-send client (string "\r\n"))
(close client)
(println (net-sessions)))
-- remote does => telnet 11.11.11.11 12345
-- client get message
-- server drops session