wlogger.c - Windows udp LOGGER
A very useful little utility. It will listen to a udp port and log
everything seen to a scrolling TTY window.
Function
|
localTTYWndProc
|
Include file
|
WLOGGER.H
|
Prototype
|
LONG WINAPI localTTYWndProc( HWND hWnd , UINT messg ,
UINT wParam , LONG lParam ) ;
|
Remarks
|
|
Function
|
WinMain
|
Include file
|
WLOGGER.H
|
Prototype
|
int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpszCmdLine, int nCmdShow )
|
Remarks
|
Program entry point.
|
Function
|
InitApplication
|
Include file
|
WLOGGER.H
|
Prototype
|
BOOL InitApplication( HANDLE hInstance )
|
Remarks
|
First time initialization stuff.
|
Function
|
InitInstance
|
Include file
|
WLOGGER.H
|
Prototype
|
HWND InitInstance( HANDLE hInstance, int nCmdShow )
|
Remarks
|
Initializes instance specific information.
|
Function
|
process_cmd_line_4_arguments
|
Include file
|
WLOGGER.H
|
Prototype
|
void process_cmd_line_4_arguments( void )
|
Remarks
|
Process the user's command line arguments into a argv array which then is
processed by the normal getargs() procedure to store the data into the
programs switch flags.
|
Function
|
local_exit
|
Include file
|
WLOGGER.H
|
Prototype
|
void local_exit( int exit_code )
|
Remarks
|
|
Function
|
init_1_broadcast_port
|
Include file
|
WLOGGER.H
|
Prototype
|
IP_SOCK *init_1_broadcast_port( int port_num )
|
Remarks
|
Allocate, initialize, open and return a UDP broadcast socket for the user's port.
|
Function
|
init_broadcast_ports
|
Include file
|
WLOGGER.H
|
Prototype
|
void init_broadcast_ports( void )
|
Remarks
|
Open the app's broadcast ports.
|
Function
|
udp_thread
|
Include file
|
WLOGGER.H
|
Prototype
|
void udp_thread( PVOID pvoid )
|
Remarks
|
Startup a separate thread to handle listening for new incoming data and
painting to the window.
|
Function
|
localTTYWndProc
|
Include file
|
WLOGGER.H
|
Prototype
|
LONG WINAPI localTTYWndProc( HWND hWnd , UINT messg ,
UINT wParam , LONG lParam )
|
Remarks
|
Local TTYWndProc to handle app command processing.
|
Table of Contents
Function Index
generated on 22 September 1998 - 12:55:57
© 1998 Tierra del Fuego Ltd.
|