| Poe :: Componente :: TFTPD Un servidor TFTP, implementado a través de POE |
Descargar ahora |
Poe :: Componente :: TFTPD Clasificación y resumen
- Licencia:
- Perl Artistic License
- Nombre del editor:
- Jan Henning Thorsen
- Sitio web del editor:
- http://search.cpan.org/~jhthorsen/
Poe :: Componente :: TFTPD Etiquetas
Poe :: Componente :: TFTPD Descripción
Un servidor TFTP, implementado a través de POE POE :: Componente :: TFTPD es un servidor TFTP, implementado a través de Poe.Synopsis Poe :: Session-> Crear (inline_states => {_start => sub {poe :: componente :: tftpd-> crear; $ _ -> Publicar ($ alias => 'start');}, tftpd_init => sub {my ($ cliente, $ fh) = ($ _ , UNDEF); Abrir ($ FH ",", $ cliente -> nombre de archivo) if ($ cliente-> wrq); $ cliente -> {'fh'} = $ fh '}, tftpd_done => sub {My $ Client = $ _ ; cierre $ cliente -> {' fh '};}, tftpd_send => sub {My $ Client = $ _ _ ; Leer $ cliente -> {' fh '}, mis datos $, $ cliente-> bloque_size; $ _ -> publicar ($ alias => send_data => $ cliente, $ datos);}, tftpd_receive => sub {my ($ cliente, $ data) = @_ ; imprimir {$ cliente -> {'fh'} } $ DATA; $ _ -> publicar ($ alias => send_ack => $ cliente);}, tftpd_log => sub {My ($ Nivel, $ cliente, $ msg) = @_ ; advierte (sprintf "% s -% s:% i -% s ", Nivel $, $ Client-> Dirección, $ Client-> Puerto, $ MSG,);},},); Requisitos: · Perl
Poe :: Componente :: TFTPD Software relacionado