Main > Programming > Libraries >

Socket 5.8.8

Socket 5.8.8

Sponsored Links

Socket 5.8.8 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 12.2 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 910
Date added: 2007-05-11
Publisher: Socket team

Socket 5.8.8 description

Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa is a Perl module to load the C socket.h defines and structure manipulators.

SYNOPSIS

use Socket;

$proto = getprotobyname(udp);
socket(Socket_Handle, PF_INET, SOCK_DGRAM, $proto);
$iaddr = gethostbyname(hishost.com);
$port = getservbyname(time, udp);
$sin = sockaddr_in($port, $iaddr);
send(Socket_Handle, 0, 0, $sin);

$proto = getprotobyname(tcp);
socket(Socket_Handle, PF_INET, SOCK_STREAM, $proto);
$port = getservbyname(smtp, tcp);
$sin = sockaddr_in($port,inet_aton("127.1"));
$sin = sockaddr_in(7,inet_aton("localhost"));
$sin = sockaddr_in(7,INADDR_LOOPBACK);
connect(Socket_Handle,$sin);

($port, $iaddr) = sockaddr_in(getpeername(Socket_Handle));
$peer_host = gethostbyaddr($iaddr, AF_INET);
$peer_addr = inet_ntoa($iaddr);

$proto = getprotobyname(tcp);
socket(Socket_Handle, PF_UNIX, SOCK_STREAM, $proto);
unlink(/var/run/usock);
$sun = sockaddr_un(/var/run/usock);
connect(Socket_Handle,$sun);

This module is just a translation of the C socket.h file. Unlike the old mechanism of requiring a translated socket.ph file, this uses the h2xs 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. This includes all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc.

Socket 5.8.8 Screenshot

Advertisements

Socket 5.8.8 Keywords

Bookmark Socket 5.8.8

Hyperlink code:
Link for forum:

Socket 5.8.8 Copyright

WareSeeker periodically updates pricing and software information of Socket 5.8.8 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Socket 5.8.8 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Opcode is a Perl module created to disable named opcodes when compiling perl code. Free Download
Fcntl is a Perl module to load the C Fcntl.h defines. Free Download
Socket6 is a Perl module for IPv6 related part of the C socket.h defines and structure manipulators. Free Download
Perl is a high-level, general-purpose programming language. Free Download
c2ph, pstruct is a Perl module that can dump C structures as generated from cc -g -S stabs. Free Download
perlhack is a Perl module that will show you how to hack at the Perl internals. Free Download
Search::Dict is a Perl module to search for key in dictionary file. Free Download
AutoSplit is a Perl module that can split a package for autoloading. Free Download