Hello all!

My first contribution on this list is not how to run a program but 
how to stop it. ;) Using ooDialog I try to show a log file of some 
kind of traffic via TCPIP. For this I have in main program

     dlgobj = .SnifIL~new
     say dlgobj~start("LoopIL")    -- shows 'a Message'
     dlgobj~execute("SHOWTOP")

Within method 'LoopIL' I use
     lendat = SockRecv(csodes, 'loopin', 2)  /* wait to receive 
something from the loop */
in blocking mode.
Qestions: i) is this the 'canonical' way to start a "wait for a 
TCPIP event" and "wait for user hits a button event"? and
ii) how may I stop the SockRecv using a button in the dialog? 
Currently I have to press Ctrl+C twice (!) in the cmd window.

TIA
M.
--------------------------------------------
Kostenlose E-Mail-Adresse mit unbegrenztem Speicherplatz für E-Mails, Free SMS 
und OK-Drive, der Online-Festplatte.
Sicher Dir jetzt Deine Wunschadresse @ OK.de: www.ok.de

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to