Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.290.361 Times

Socket::PassAccessRights 0.03

  Date Added: July 10, 2010  |  Visits: 714

Socket::PassAccessRights

Report Broken Link
Printer Friendly Version


Product Homepage
Download (74 downloads)

Socket::PassAccessRights is a Perl extension for BSD style file descriptor passing via Unix domain sockets. SYNOPSIS use Socket::PassAccessRights; Socket::PassAccessRights::sendfd(fileno(SOCKET), fileno(SEND_ME)) or die; $fd = Socket::PassAccessRights::recvfd(fileno(SOCKET)) or die; open FD, ">&=$fd" or die "$!"; # convert int fd to file handle Implements passing access rights (i.e. file descritors) over Unix domain sockets. Only one fd can be passed at one time and no other data can be sent in the same operation (operation itself involves sending exactly one byte of data to solve EOF detection anomaly). See test.pl and examples directory for usage examples. PLATFORMS This code has only been tested on * Linux-2.0.38 with glibc-2.0.7 (libc.so.6) and libc.so.5 (BSD4.4 style) * Linux-2.2.14 with glibc-2.0.7 (libc.so.6) (BSD4.4 style) * Solaris-2.6 using gcc (BSD4.3 style) Specifically, the code from [Stevens] did not work out of the box. I had to rename msg.msg_accrights* to msg.control* and send at least one byte. General impression from net is that file descripto passing code seems to be buggy - not just in Linux, but on FreeBSD, too..

Requirements: No special requirements
Platforms: Linux
Keyword: Bsd Domain Fd File File Descriptor Libraries Passaccessrights Passing Programming Socketpassaccessrights Style Unix
Users rating: 0/10

License: Freeware Size: 7.17 KB
SOCKET::PASSACCESSRIGHTS RELATED
Libraries  -  Audio::File 0.10
Audio::File is a audio file abstraction library. SYNOPSIS use Audio::File; my $file = Audio::File->new( "foo.bar" ); print "The ". $file->type() ."-file ". $file->name ." is ". int $file->length() ." seconds long.n"; print "Its...
74.75 KB  
Libraries  -  Daizu::File 0.3
Daizu::File is a Perl class representing files in working copies. Each object of this class represents a particular file in a Daizu CMS working copy (a record in the wc_file table). METHODS Note that all the functions which return the value...
419.84 KB  
Clipboard Utilities  -  MetaClip 2 Pre-Alpha
MetaClip is a handy and reliable clipboard content archiving tool designed to store, organize and restore Windows clipboard contents, including complex formatted textual content, images and other data formats, in portable file-system based...
 
Utilities  -  BareTail 3.50a
A free real-time log file monitoring tool: * Real-time file viewing * Follow tail mode (like tail -f on Unix) * View files of any size (> 2GB) * Scroll to any point in the file instantly * Configurable highlighting * Monitor multiple files...
215.04 KB  
Development Tools  -  Hashish 1.1b 1.0
Hashish is a file and string hashing utility for Win32, Mac and Unix.Features: - 15 Hashing functions - Base 64 or Base 16 (hex) encoding - File and string hashing - Drag and drop file hashing - Written using a cross platform library
 
Database Tools  -  VINDOZO: MYSQL-COPY 1.1
Copy all tables MYSQL Database FROM: MYSQL-Server, HTTP-Path file or Upload file dump TO: MYSQL-Server, One file, File-parts dump. Advanced statistics.Improved stability. Multiuser. Report to file. No limit database size. Convert Charset. Only one...
10 KB  
Programming  -  Pasmo 0.6.0.20070113.0
Pasmo project is a Z80 cross assembler, written in standard C++ that compiles easily in multiple platforms. Actually can generate object code in the following formats: raw binary, Intel HEX, PRL for CP/M Plus RSX, Plus3Dos (Spectrum +3 disk), TAP,...
122.88 KB  
Backup Utilities  -  Binary Clock 2.5
Binary Clock is a gadget that will add to your desktop or Sidebar a binary clock. This is a clock displays the current time in binary notation. Save settings to file. (File will be created - Path: %APPDATA% Filename: gadgetname_Settings.ini)....
319 KB  
Development Tools  -  XLS2STRUCT 1.0
[S,E] = XLS2STRUCT(FILE) reads the Excel-file FILE and converts the columns into separate fields in the structure S. The first line of the file must contain unique headers for all of the columns, the rest of the file is data. Column names can...
10 KB  
Development Tools  -  DFM for alphabetic 1.0
this software use for counting the alphabetic in text file(file.txt).it can use for affine cipher attack cause this software can now the high distribution a alphabetic
757.76 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB