in reply to Telnet Help

I'm not really sure but I guess you should check this line:

foreach my $client ($select->can_read($timeout))

You iterate only those connections from which you can_read, so it's no surprise that it does not iterate on a connection fron which you have not received data.

Replies are listed 'Best First'.
Re^2: Telnet Help
by Anonymous Monk on Jul 08, 2004 at 15:35 UTC
    Well I have tried that but it is not the problem. By all standards, I do believe the problem is laying with how select is dealing with the connection.

    For if I just remove anything to due wiht select and just accept and start to writing to the socket it works just fine.

    Hopefully someone can see a glitch in there as it in theory should be working.