Re: My progress in Perl

2023-08-08 Thread William Ward via beginners
Make a service backend that takes requests on the host machine. Invoke a thread to handle each client connection. Maintain state and session continuity over multiple service requests. Encrypt communication using secret keys on both server and client. Then implement the solution using web server

Re: Passing socket descriptor between threads

2012-08-06 Thread William Ward
ist connections< handler[5]: >help< handler[5]: >exit< handler[5]: Client exiting. handler[6]: >exit< handler[6]: Client exiting. ^C - Original Message - From: William Ward To: "beginners@perl.org" Cc: Sent: Thursday, August 2, 2012 5:13 PM Subject: Passing

Passing socket descriptor between threads

2012-08-02 Thread William Ward
Hi All, Is there a way to pass a "socket descriptor" to another thread?   Here is an example of what is being attempted here: #!/usr/bin/perl use strict; use threads; use Socket; my $listener_thread = threads->new(\&listener); $listener_thread->join; sub listener {    my $prot = getproto