IO::Socket::UNIX::Util - Unix domain socket utilities
This document describes version 0.05 of IO::Socket::UNIX::Util (from Perl distribution IO-Socket-UNIX-Util), released on 2014-12-05.
Create a listening Unix socket (by default with Type SOCK_STREAM) using IO::SOcket::UNIX. %opts will be passed to IO::Socket::UNIX.
%opts
Die on failure.
This function creates Unix domain socket with the usual way of using IO::Socket::UNIX with some extra stuffs: remove stale socket first, show more detailed/precise error message, chmod with $mode.
Shortcut for:
create_unix_socket($path, $mode, {Type=>SOCK_STREAM, %opts});
which is the default anyway.
create_unix_socket($path, $mode, {Type=>SOCK_DGRAM, %opts});
Please visit the project's homepage at https://metacpan.org/release/IO-Socket-UNIX-Util.
Source repository is at https://github.com/perlancar/perl-SHARYANTO-IO-Socket-Utils.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=IO-Socket-UNIX-Util
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2014 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install IO::Socket::UNIX::Util, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Socket::UNIX::Util
CPAN shell
perl -MCPAN -e shell install IO::Socket::UNIX::Util
For more information on module installation, please visit the detailed CPAN module installation guide.