multicasting on win32

2002-10-08 Thread James McDermet
Has anyone written a multicast app on Win32? I am attempting to create a chat-like app to run on WinNT and Win2K. Microsoft states that WinNT can receive multicast packets as a client, http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q179982; and multicasting is supportted on Win2K.

fork and child processes

2001-06-18 Thread James McDermet
I have a script that I want to fork a child process that will start an application, e.g. notepad. Once notepad is closed I want the child process to send a signal to the parent. How would I do this in Windows? my $pid = fork(); defined ($pid) or die Can't fork: $!; if ($pid 0){exit}; print

sockets problem

2001-05-31 Thread James McDermet
In the script below when I send a START msg to the socket it is successfully received. When I send a STOP msg it is not. What am I doing wrong here? James use strict; use IO::Socket; my $client; my $server_port = 5010; my $server = IO::Socket::INET-new(LocalPort = $server_port,