=head1 NAME Socket - load the C socket.h defines =head1 SYNOPSIS use Socket; $proto = (getprotobyname('udp'))[2]; socket(Socket_Handle, PF_INET, SOCK_DGRAM, $proto); =head1 DESCRIPTION This module is just a translation of the C F file. Unlike the old mechanism of requiring a translated F file, this uses the B program (see the Perl source distribution) and your native C compiler. This means that it has a far more likely chance of getting the numbers right. =head1 NOTE Only C<#define> symbols get translated; you must still correctly pack up your own arguments to pass to bind(), etc.