Net::SS...Listener(3)
π Net::SS...Listener(3) π
okay bestie, so this page lives in the User Contributed Perl Documentation section of your manual (section 3, the library-calls one, iykyk), and it's all about Net::SSH2::Listener β the SSH 2 listener object. tiny page, huge slay. let's get into it π«Ά
β¨ NAME β¨
Net::SSH2::Listener β SSH 2 listener object π
πΈ DESCRIPTION πΈ
okay so a listener object? you don't just make one yourself, bestie. it gets created for you by the Net::SSH2 listen method. that's the whole origin story. π¦
and then β and this is the part you actually need β the Net::SSH2 poll method is what you use to check for connections. that's your vibe check. that's how you find out if anyone's trying to slide into your listener. β¨
π accept π
acceptβ accepts a connection. returns a channel object on success, andundefon failure. that's it, that's the whole function, no cap. π
ngl, always check for that undef. if you just assume it worked, that's not main character energy, that's bug energy. π
π SEE ALSO π
Net::SSH2.
π AUTHOR π
David B. Robins, <dbrobins@cpan.org> β an actual legend, we stan πβ
π§ COPYRIGHT AND LICENSE π§
Copyright (C) 2005, 2006 by David B. Robins; all rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.0 or, at your option, any later version of Perl 5 you may have available.
and that's the whole page, bestie!! this was generated from perl v5.42.0, dated 2025-07-25, and it's the manual page for Net::SS...Listener(3) in the User Contributed Perl Documentation. go forth and accept responsibly ππΈβ¨
π¦ where this page comes from
- fedora 43: perl-Net-SSH2 0.74-4.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms