| Poe :: Componente :: TFTPD um servidor TFTP, implementado através do PoE |
Baixe Agora |
Poe :: Componente :: TFTPD Classificação e resumo
- Licença:
- Perl Artistic License
- Nome do editor:
- Jan Henning Thorsen
- Site do editor:
- http://search.cpan.org/~jhthorsen/
Poe :: Componente :: TFTPD Tag
Poe :: Componente :: TFTPD Descrição
Um servidor TFTP, implementado através de PoE Poe :: Componente :: TFTPD é um servidor TFTP, implementado por meio de Poe.Synopsis Poe :: Session-> Create (inline_states => {_start => sub {poe :: componente :: tftpd-> criar; $ _ -> post ($ alias => 'start');}, tftpd_init => sub {my ($ client, $ FH) = ($ _ , UNDEF); aberto ($ FH, "", $ Cliente -> Nome do arquivo) se ($ client-> wrq); $ client -> {'fh'} = $ fh;}, tftpd_done => sub {my $ client = $ _ ; fechar $ client -> {' FH '};}, tftpd_send => sub {my $ client = $ _ ; leia $ client -> {' fh '}, meus dados $ Data, $ client-> block_size; $ _ -> post ($ Alias => Send_Data => $ Cliente, $ Data);}, tftpd_receive => sub {my ($ client, $ data) = @_ ; imprimir {$ client -> {'fh'} } $ data; $ _ -> post ($ alias => send_ack => $ client);}, tftpd_log => sub {my (nível $ nível, $ client, $ msg) = @_ ; advertir (sprintf "% s -% s:% i -% s ", $ Nível, $ Cliente-> Endereço, $ Cliente-> Porta, $ Msg,);},},); requisitos: · Perl.
Poe :: Componente :: TFTPD Software Relacionado