DirectConnect/sctp.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 37 CC 2 SCAR 10.6
CC
2
Cov
0%
init
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.9
1 #$Id: adc.pm 858 2011-10-10 22:56:04Z pro $ $URL: svn://svn.setun.net/dcppp/trunk/lib/Net/DirectConnect/adc.pm $
2 package #hide from cpan
3 Net::DirectConnect::sctp;
4 use strict;
5 no strict qw(refs);
6 use warnings "NONFATAL" => "all";
7 no warnings qw(uninitialized);
8 no if $] >= 5.017011, warnings => 'experimental::smartmatch';
9 use Socket;
10 use Data::Dumper; #dev only
11 #$Data::Dumper::Sortkeys = $Data::Dumper::Useqq = $Data::Dumper::Indent = 1;
12 sub init {
13 my $self = shift if ref $_[0];
14 $self->{'Proto'} = 'sctp';
15 $self->{'socket_options'}{Type} = Socket::SOCK_STREAM;
16 }
17 64;