forking

2002-05-07 Thread Conan Chai
hi all, i wrote a program that forks, it runs well, but once the child is done with its job, it did not become a zombie (so that reaper can kill it), instead it went into a sleep state, and i'm not sure why/what makes it go there? any pointers? i must have missed out something. Conan .. .. .. d

MLDBM

2002-05-03 Thread Conan Chai
hi all, i want to use MLDBM to store some data(name with multiple values), but error occurs. i have installed these modules, but i'm not sure what i'm missing. MLDBM DB_file Data::Dumper the codes: use MLDBM 'DB_File'; tie %data, "MLDBM", "database", O_CREAT|O_RDWR, 0644 or die "can't open/crea

Re: http headers

2002-04-25 Thread Conan Chai
.com Proxy-Connection: Keep-Alive > > > > --- Conan Chai <[EMAIL PROTECTED]> wrote: > > > hi, > > > > > > are there any perl modules that splits the http > > > request headers into name/value pairs? > &

http headers

2002-04-23 Thread Conan Chai
hi, are there any perl modules that splits the http request headers into name/value pairs? Conan It Will Come To Us !!! [EMAIL PROTECTED]

proxy server

2002-04-22 Thread Conan Chai
hi, how do i read in the request from a browser? the browser is set to point to my proxy server. i have tried the following codes while(sysread($client,$request,1024) > 0) { #do something } and $bytes = sysread($client,$request,1024); if($bytes > 0) { #do something } obviously the br

proxy server that listens on 2 ports

2002-04-19 Thread Conan Chai
hi all, i'm writing a simple proxy server that listens on 2 ports, 1 for browser and another for admin client. the admin client is for administrative tasks such as adding new users and reseting downloaded bytes. i'm currently using the IO::Select module but this mode is blocking I/O, so i inten