Ethereal-dev: [ethereal-dev] Real time packet display for Win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Thu, 8 Jun 2000 10:32:20 +0100
Unfortunately just missed the 0.8.9 boat but here's a patch that enables
real time capture display for win32.  I've tested on win98 and NT 4.0 and
all seems OK.

The code is a little bit kludgy as Win9x doesn't fully support Named Pipes
which allow the process to wait for I/O.  I used the GTK method of adding a
timer that peeks into the pipe every second.  I didn't use the GTK I/O
channels as I couldn't get them to work across processes.

Only difficulty I've found is that as packets are added the main window
comes to the front, usually obscuring the capture statistics window which
contains the ever useful "Stop" button.  I would like to make the Capture
stats window always "on top" in win32 parlance, does anyone know how to
achieve this?

Regards,

Graham Bloice
Software Developer
Trihedral UK Limited

Tel: +44 (0)7002 874433
Fax: +44 (0)7002 228880

Email: mailto:graham.bloice@xxxxxxxxxxxxx
Web: http://www.trihedral.com

Attachment: win32.patch
Description: Binary data