Help for this page

Select Code to Download


  1. or download this
    # Send side routines
    sub connect {
    ...
                                          Proto    => 'tcp',
                                          Reuse    => 1);
    
  2. or download this
    use Msg;
     ...
    ...
           die "Client could not connect to $host:$port\n" unless $conn;
           print "Connection successful.\n";
    
  3. or download this
        # Create a connection end-point object
        my $conn = bless {
            sock                   => $sock,
            rcvd_notification_proc => $rcvd_notification_proc,
        }, $pkg;
    
  4. or download this
    sub send_now {
        my ($conn, $msg) = @_;
        _enqueue ($conn, $msg);
        $conn->_send (1); # 1 ==> flush   ??????
    }
    
  5. or download this
     $conn->_send (1);
    
  6. or download this
     _send ($conn,1);