[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [HS]Serveur en Perl



Le serveur ne doit pas faire die(), ne rien dire au client en dehors du fork, trapper
le status du processus forké, etc... C.f. 'man perlipc' pour un example qui tient la
route, bien qu'ecrit a l'ancienne mode. Je suis sur qu'un google malicieux te trouveras
des pages avec un code correct.
A+, JD.

On Sunday 29 May 2005 22:05, Maladrie Julien wrote:
MJ > >  print $client "Le serveur dit 'bonjour' au client !\n";     Non
MJ > >  die "Je ne peux pas forker !" if ! defined ($pid);          Non
MJ > >   # c'est le père qui pendant ce temps répond au client #    Non
etc...
-- 
Jean-Damien Durand CERN/IT/ADC/CA - Geneva, Switzerland
PGP PUBLIC KEY: http://home.cern.ch/~jdurand/public_key.asc
This mail is signed using CERN CA, please use my PGP key otherwise
CERN CA root certificate: http://cern.ch/service-grid-ca/crt/root_crt.html

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: