Net::Gen

Net::Gen is a Perl module which contains generic sockets interface handling.
Download

Net::Gen Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Spider Boardman
  • Publisher web site:
  • http://search.cpan.org/~spidb/Net-ext-1.011/lib/Net/Gen.pm

Net::Gen Tags


Net::Gen Description

Net::Gen is a Perl module which contains generic sockets interface handling. Net::Gen is a Perl module which contains generic sockets interface handling.The Net::Gen module provides basic services for handling socket-based communications. It supports no particular protocol family directly, however, so it is of direct use primarily to implementors of other modules. To this end, several housekeeping functions are provided for the use of derived classes, as well as several inheritable methods. The Net::Gen class does inherit from IO::Handle, thus making its methods available. See IO::Handle::METHODS for details on those methods. However, some of those methods are overridden, so be sure to check the methods described below to be sure. (In particular, the fcntl and ioctl methods are overridden.)Also provided in this distribution are Net::Inet, Net::TCP, Net::TCP::Server, Net::UDP, Net::UNIX, and Net::UNIX::Server, which are layered atop Net::Gen.Public MethodsThe public methods are listed alphabetically below. Here is an indication of their functional groupings:Creation and setupnew, new_from_fd, new_from_fh, init, checkparams, open, connect, bind, listenParameter manipulationsetparams, setparam, delparams, delparam, getparams, getparam, param_saverLow-level controlunbind, condition, getsopt, getropt, setsopt, setropt, fcntl, ioctlMedium-level controlgetsockinfo, shutdown, stopio, closeInformationalisopen, isconnected, isbound, didlisten, fhvec, getfh, filenoI/Osend, sendto, put, recv, get, getline, gets, select, acceptUtility routinesformat_addr, format_local_addr, format_remote_addrTied filehandle supportSEND, PRINT, PRINTF, RECV, READLINE, READ, GETC, WRITE, CLOSE, EOF, BINMODE, FILENO, TIEHANDLETied scalar supportFETCH, STORE, TIESCALARAccessorsAny of the keys known to the getparam and setparams methods may be used as an accessor function. See "Known Object Parameters" below, and the related sections in the derived classes. For an example, see blocking, below. Requirements: · Perl


Net::Gen Related Software