The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


Event::tcpsession - reliable bidirectional RPC session layer


    my $api = [
           { name  => 'my_rpc',
             req   => 'nN',                 # network short, network long
             reply => '',                   # no translator for reply
             code  =>
               sub { 'returned to caller' } # server-side code

    Event->tcpsession(fd => $socket, api => $api);


Automatic client-side recovery.

Embedded NULLs are OK.

What are the arbitrary limits?


If you have insights or complaints then please subscribe to the mailing list! Send email to:

The body of your message should read:

  subscribe perl-loop

This list is archived at



Copyright © 1999 Joshua Nathaniel Pritikin. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 483:

Non-ASCII character seen before =encoding in '©'. Assuming CP1252