Net::Server and SSLEAY issues

2014-02-22 Thread Chris Knipe
Hi all, I'm attempting to do a very simple Net::Server listening on two different ports, one being TCP and one being SSLEAY. So far this is working, but as soon as I make an normal unencrypted connection (telnet) to the SSLEAY port and *disconnect*, the Net::Server goes into an infinite

Re: Net::Server

2006-02-20 Thread Tom Allison
Beau E. Cox wrote: On Monday 20 February 2006 10:06, Tom Allison wrote: package AuthServer; @ISA = qw[Net::Server]; my $server = bless { port => 8081, }, 'AuthServer'; $server->run(); No. This _works_: package AuthServer; use Net::Server; @ISA = qw[Net::Server];

Re: Net::Server

2006-02-20 Thread Beau E. Cox
On Monday 20 February 2006 10:29, Beau E. Cox wrote: > On Monday 20 February 2006 10:06, Tom Allison wrote: > > package AuthServer; > > > > @ISA = qw[Net::Server]; > > > > my $server = bless { > >   port  => 8081, > >   }, 'AuthServer';

Re: Net::Server

2006-02-20 Thread Beau E. Cox
On Monday 20 February 2006 10:06, Tom Allison wrote: > package AuthServer; > > @ISA = qw[Net::Server]; > > my $server = bless { >   port  => 8081, >   }, 'AuthServer'; > > $server->run(); No. This _works_: package AuthServer; use Net::Server; @IS

Re: Net::Server

2006-02-20 Thread Tom Phoenix
On 2/20/06, Beau E. Cox <[EMAIL PROTECTED]> wrote: > Net::Server works fine for me. I suggest you specify a log file and set > log-level to the 'debug' value (see the docs). >From my reading of the docs, what the code in the original posting was doing seems to be the

Re: Net::Server

2006-02-20 Thread Tom Allison
On 2/20/2006, "Beau E. Cox" <[EMAIL PROTECTED]> wrote: >On Sunday 19 February 2006 13:52, Tom Phoenix wrote: >> On 2/18/06, Tom Allison <[EMAIL PROTECTED]> wrote: >> > I am trying to set up a server using Net::Server. >> >> I believe that

Re: Net::Server

2006-02-20 Thread Beau E. Cox
On Sunday 19 February 2006 13:52, Tom Phoenix wrote: > On 2/18/06, Tom Allison <[EMAIL PROTECTED]> wrote: > > I am trying to set up a server using Net::Server. > > I believe that you omitted a vital piece at the top of your code: a > package directive. > > packag

Re: Net::Server

2006-02-19 Thread Tom Phoenix
On 2/18/06, Tom Allison <[EMAIL PROTECTED]> wrote: > I am trying to set up a server using Net::Server. I believe that you omitted a vital piece at the top of your code: a package directive. package AuthServer; Without that, your @ISA variable isn't @AuthServer::ISA. But

Re: Net::Server

2006-02-19 Thread Hans Meier (John Doe)
Tom Allison am Samstag, 18. Februar 2006 21.27: > I am trying to set up a server using Net::Server. > Mostly this is out of curiousity more than anything else. > But following the man pages I got stuck. > > I was trying to set up a server to connect to port 8081, > but none of

Net::Server

2006-02-18 Thread Tom Allison
I am trying to set up a server using Net::Server. Mostly this is out of curiousity more than anything else. But following the man pages I got stuck. I was trying to set up a server to connect to port 8081, but none of the configuration options I've put in below appear in the file I'

Re: How to glue Net::Server and readline ?

2003-10-14 Thread Steve Grazzini
On Tue, Oct 14, 2003 at 08:19:12PM +0200, Ernest Beinrohr wrote: > Hi, I'm trying to glue together an console application with readline > extension (=I can edit the line befor I enter it). How can I make it > work with Net::Server ? > > The readline package is "ru

How to glue Net::Server and readline ?

2003-10-14 Thread Ernest Beinrohr
Hi, I'm trying to glue together an console application with readline extension (=I can edit the line befor I enter it). How can I make it work with Net::Server ? The readline package is "running" on the server size, although it should run on the client side after he te