NAME
    Mail::Delivery::Net::INET4 - establish tcp connection over IPv4.

SYNOPSIS
       use Mail::Delivery::Net::INET4;

       $mta = '127.0.0.1:25';
       $self->connect4( { mta => $mta });

DESCRIPTION
    This module tries to create a socket and establish tcp connection over
    IPv4. This is a typical socket program.

METHODS
  connect4()
    try connect(2). If it succeeds, return a file handle. return undef if
    failes.

    Also, save the socket handle via set_socket() access method.

    Avaialble arguments follows:

        connect4( { mta => $mta } );

    $mta is a hostname or [raw_ipv4_addr]:port form, for example,
    127.0.0.1:25.

SEE ALSO
    Mail::Delivery::SMTP, IO::Socket

CODING STYLE
    See "http://www.fml.org/software/FNF/" on fml coding style guide.

AUTHOR
    Ken'ichi Fukamachi

COPYRIGHT
    Copyright (C) 2001,2002,2004,2005,2006 Ken'ichi Fukamachi Copyright (C)
    2012 Ken'ichi Fukamachi

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

HISTORY
    Mail::Delivery::Net::INET4 first appeared in fml8 mailing list driver
    package. See "http://www.fml.org/" for more details.

