raw socket constructor 2.1a
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1157
Raw Socket Constructor 2.1a
Raw Socket Constructor provides a tool for sending packets from the console. more>>
Raw Socket Constructor provides a tool for sending packets from the console.
Raw Socket Constructor is a tool that uses the Libsock library to create arbitrary TCP, ICMP, UDP, TCP6, ICMP6, or UDP6 packets.
<<lessRaw Socket Constructor is a tool that uses the Libsock library to create arbitrary TCP, ICMP, UDP, TCP6, ICMP6, or UDP6 packets.
Download (0.008MB)
Added: 2007-03-22 License: GPL (GNU General Public License) Price:
950 downloads
Raw Socket Library 2.1
Raw Socket Library provides a simple to use raw socket library with IPV6 support. more>>
Raw Socket Library provides a simple to use raw socket library with IPV6 support.
Raw Socket Library provides a simple mechanism to send raw socket packet using IPV4 and IPV6 using a simple struct.
It currently supports TCP, ICMP, UDP, and ICMPv6.
Enhancements:
- ARP has been added but not tested. More IP4 options can be changed at code time now.
<<lessRaw Socket Library provides a simple mechanism to send raw socket packet using IPV4 and IPV6 using a simple struct.
It currently supports TCP, ICMP, UDP, and ICMPv6.
Enhancements:
- ARP has been added but not tested. More IP4 options can be changed at code time now.
Download (0.012MB)
Added: 2007-03-22 License: GPL (GNU General Public License) Price:
963 downloads
Boa Constructor 0.2.3 Alpha
Boa Constructor is a cross platform Python IDE and wxPython GUI Builder. more>>
Boa Constructor is a cross platform Python IDE and wxPython GUI Builder. It offers visual frame creation and manipulation, an object inspector, many views on the source like object browsers, inheritance hierarchies, doc string generated html documentation, an advanced debugger and integrated help.
Zope support: Object creation and editing. Cut, copy, paste, import and export. Property creation and editing in the Inspector and Python Script debugging.
It is written in Python and uses the wxPython library which wraps wxWindows.
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, and new built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface.
wxPython is a Python extension module that encapsulates the wxWindows GUI classes. Currently it is available for the Win32 and GTK ports of wxWindows, but as soon as the other ports are brought up to the same level as Win32 and GTK, it should be fairly trivial to enable wxPython to be used with the new GUI.
Enhancements:
- Primarily a bugfix release for compatibility with the latest wxPython.
<<lessZope support: Object creation and editing. Cut, copy, paste, import and export. Property creation and editing in the Inspector and Python Script debugging.
It is written in Python and uses the wxPython library which wraps wxWindows.
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java.
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, and new built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface.
wxPython is a Python extension module that encapsulates the wxWindows GUI classes. Currently it is available for the Win32 and GTK ports of wxWindows, but as soon as the other ports are brought up to the same level as Win32 and GTK, it should be fairly trivial to enable wxPython to be used with the new GUI.
Enhancements:
- Primarily a bugfix release for compatibility with the latest wxPython.
Download (9.6MB)
Added: 2006-12-12 License: GPL (GNU General Public License) Price:
615 downloads
Linguistic Tree Constructor 2.7.1
Linguistic Tree Constructor is a free program for building linguistic syntax trees from text. more>>
Linguistic Tree Constructor is a free program for building linguistic syntax trees from text. Linguistic Tree Constructor lets the user build the tree in a point-and-click fashion.
The program does no analysis on its own -- the user is completely free to draw the tree however he or she wishes. However, the program makes sure that the tree is a tree and not some other kind of graph.
Syntactic theories supported
Three "flavors" of trees are supported:
- "Generic" syntax trees,
- X-Bar syntax trees
- RRG (Role and Reference Grammar) syntax trees (the LSC and the LSNP)
Labeling of nodes
- The program supports adding "labels" to nodes. These labels are userdefinable, and can be used for such things as:
- Rhetorical Structure Theory analyses
- Other discourse-level analyses
- RRG operator-projection analyses
- Subject-Object-Predicate analyses
Main features:
- Draw syntax trees using point-and-click
- Both tree-view and brackets-view are supported
- Supports up to five interlinear lines at word-level
- Interlinear lines can be switched on and off individually
- Change magnification
- Unlimited undo
- Copy (parts of) tree to clipboard as BMP
- Printing + Print Preview
- Uses any font (even Unicode fonts)
- Supports right-to-left languages as well as left-to-right
- Import from straight text (plain text)
- Import from word-per-record SFM interlinear text
- ... and many more...
Enhancements:
- A number of crashes were fixed.
- A bug with magnification on OS X was fixed.
- The speed of interaction with the program was improved.
<<lessThe program does no analysis on its own -- the user is completely free to draw the tree however he or she wishes. However, the program makes sure that the tree is a tree and not some other kind of graph.
Syntactic theories supported
Three "flavors" of trees are supported:
- "Generic" syntax trees,
- X-Bar syntax trees
- RRG (Role and Reference Grammar) syntax trees (the LSC and the LSNP)
Labeling of nodes
- The program supports adding "labels" to nodes. These labels are userdefinable, and can be used for such things as:
- Rhetorical Structure Theory analyses
- Other discourse-level analyses
- RRG operator-projection analyses
- Subject-Object-Predicate analyses
Main features:
- Draw syntax trees using point-and-click
- Both tree-view and brackets-view are supported
- Supports up to five interlinear lines at word-level
- Interlinear lines can be switched on and off individually
- Change magnification
- Unlimited undo
- Copy (parts of) tree to clipboard as BMP
- Printing + Print Preview
- Uses any font (even Unicode fonts)
- Supports right-to-left languages as well as left-to-right
- Import from straight text (plain text)
- Import from word-per-record SFM interlinear text
- ... and many more...
Enhancements:
- A number of crashes were fixed.
- A bug with magnification on OS X was fixed.
- The speed of interaction with the program was improved.
Download (0.81MB)
Added: 2007-08-21 License: GPL (GNU General Public License) Price:
806 downloads
Raw Print Server 1.0
Raw Print Server is a raw print server. more>>
Raw Print Server project is a "raw" print server that makes it possible for a computer to act as a "Socket API" or "AppSocket" print server.
This software would not exist without Sam Rushings excellent asyncore module, nor would it exist without Steve Holdens excellent explanation of that module (in his book "Python Web Programming" from New Riders, a truly outstanding book that I cant recommend enough) from which I learned enough to write this server. Im also indebted to Guido van Rossum for Python itself, which has made my life SO much easier, and to Mark Hammond for the win32all modules which are essential parts of the Windows version of the print server.
This is version 0.1 of the Raw Print Server. There are no installation instructions to speak of; I plan to write an install script to assist with getting the software up and running, but for now its all manual.
You will need a working Python 2.x system to run the print server itself, and if you are installing on Windows youll need a working set of the win32all modules from Mark Hammond (which you really ought to have anyway). To run the GUI properties program, youll need a working PyGTK module set, and on Windows that means finding a compatible GTK+ runtime also.
Finding all of the above is left as an exercise for the reader.
Okay. If you are on a recent Linux system, or any of the BSD family, you should be able to install all of the above from your original installation media, or download them from the appropriate website for your distribution.
If you are running Windows, start by getting a recent Python build from www.python.org; follow the links from that site to the win32all downloads (currently somewhere on Sourceforge).
After that, go to www.pygtk.org and follow their links to the downloads you need for Windows. Note that as of this time (October 2005), the GTK libraries normally used for the Gimp dont work with PyGTK (despite notes on the PyGTK for Windows site saying that they do), at least, not on Win9x.
Get the runtime or development libraries referenced from the PyGTK for Windows site. If you already have the Gimp installed, uninstall the GTK+ libraries you got with it before installing the alternate runtime. My Gimp still works, so it must be okay, right?
Enhancements:
- close printer when done
<<lessThis software would not exist without Sam Rushings excellent asyncore module, nor would it exist without Steve Holdens excellent explanation of that module (in his book "Python Web Programming" from New Riders, a truly outstanding book that I cant recommend enough) from which I learned enough to write this server. Im also indebted to Guido van Rossum for Python itself, which has made my life SO much easier, and to Mark Hammond for the win32all modules which are essential parts of the Windows version of the print server.
This is version 0.1 of the Raw Print Server. There are no installation instructions to speak of; I plan to write an install script to assist with getting the software up and running, but for now its all manual.
You will need a working Python 2.x system to run the print server itself, and if you are installing on Windows youll need a working set of the win32all modules from Mark Hammond (which you really ought to have anyway). To run the GUI properties program, youll need a working PyGTK module set, and on Windows that means finding a compatible GTK+ runtime also.
Finding all of the above is left as an exercise for the reader.
Okay. If you are on a recent Linux system, or any of the BSD family, you should be able to install all of the above from your original installation media, or download them from the appropriate website for your distribution.
If you are running Windows, start by getting a recent Python build from www.python.org; follow the links from that site to the win32all downloads (currently somewhere on Sourceforge).
After that, go to www.pygtk.org and follow their links to the downloads you need for Windows. Note that as of this time (October 2005), the GTK libraries normally used for the Gimp dont work with PyGTK (despite notes on the PyGTK for Windows site saying that they do), at least, not on Win9x.
Get the runtime or development libraries referenced from the PyGTK for Windows site. If you already have the Gimp installed, uninstall the GTK+ libraries you got with it before installing the alternate runtime. My Gimp still works, so it must be okay, right?
Enhancements:
- close printer when done
Download (0.028MB)
Added: 2006-07-08 License: BSD License Price:
1216 downloads
Rawstudio 0.6
Rawstudio is an open source raw-image converter written in GTK+. more>>
Rawstudio is an open source raw-image converter written in GTK+.
Rawstudio can read and convert RAW-images from many different cameras, including Nikon and Canon. It uses dcraw.
Main features:
- Reads all dcraw supported formats
- Internal 16bit rgb
- Various post-shot controls (white balance, saturation and exposure compensation among others)
- Realtime histogram
<<lessRawstudio can read and convert RAW-images from many different cameras, including Nikon and Canon. It uses dcraw.
Main features:
- Reads all dcraw supported formats
- Internal 16bit rgb
- Various post-shot controls (white balance, saturation and exposure compensation among others)
- Realtime histogram
Download (0.26MB)
Added: 2007-08-14 License: GPL (GNU General Public License) Price:
813 downloads
SocketW r031026
SocketW project is a cross platform (Linux/FreeBSD/Unix/Win32) streaming socket C++ library designed to be easy to use. more>>
SocketW project is a cross platform (Linux/FreeBSD/Unix/Win32) streaming socket C++ library designed to be easy to use.
It supports Unix sockets and TCP/IP sockets with optional SSL/TLS (OpenSSL) support. SocketW allows you to write portable and secure network applications quickly without needing to spend time learning low-level system functions or reading OpenSSL manuals.
<<lessIt supports Unix sockets and TCP/IP sockets with optional SSL/TLS (OpenSSL) support. SocketW allows you to write portable and secure network applications quickly without needing to spend time learning low-level system functions or reading OpenSSL manuals.
Download (0.046MB)
Added: 2006-09-11 License: GPL (GNU General Public License) Price:
1138 downloads
Socket 5.8.8
Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa is a Perl module to load the C socket.h defines and structure manipulator more>>
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.
<<lessSYNOPSIS
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.
Download (12.2MB)
Added: 2007-05-11 License: Perl Artistic License Price:
900 downloads
Danga::Socket 1.56
Danga::Socket is an event loop and event-driven async socket base class. more>>
Danga::Socket is an event loop and event-driven async socket base class.
SYNOPSIS
package My::Socket
use Danga::Socket;
use base (Danga::Socket);
use fields (my_attribute);
sub new {
my My::Socket $self = shift;
$self = fields::new($self) unless ref $self;
$self->SUPER::new( @_ );
$self->{my_attribute} = 1234;
return $self;
}
sub event_err { ... }
sub event_hup { ... }
sub event_write { ... }
sub event_read { ... }
sub close { ... }
$my_sock->tcp_cork($bool);
# write returns 1 if all writes have gone through, or 0 if there
# are writes in queue
$my_sock->write($scalar);
$my_sock->write($scalarref);
$my_sock->write(sub { ... }); # run when previous data written
$my_sock->write(undef); # kick-starts
# read max $bytecount bytes, or undef on connection closed
$scalar_ref = $my_sock->read($bytecount);
# watch for writability. not needed with ->write(). write()
# will automatically turn on watch_write when you wrote too much
# and turn it off when done
$my_sock->watch_write($bool);
# watch for readability
$my_sock->watch_read($bool);
# if you read too much and want to push some back on
# readable queue. (not incredibly well-tested)
$my_sock->push_back_read($buf); # scalar or scalar ref
Danga::Socket->AddOtherFds(..);
Danga::Socket->SetLoopTimeout($millisecs);
Danga::Socket->DescriptorMap();
Danga::Socket->WatchedSockets(); # count of DescriptorMap keys
Danga::Socket->SetPostLoopCallback($code);
Danga::Socket->EventLoop();
This is an abstract base class for objects backed by a socket which provides the basic framework for event-driven asynchronous IO, designed to be fast. Danga::Socket is both a base class for objects, and an event loop.
Callers subclass Danga::Socket. Danga::Sockets constructor registers itself with the Danga::Socket event loop, and invokes callbacks on the object for readability, writability, errors, and other conditions.
Because Danga::Socket uses the "fields" module, your subclasses must too.
<<lessSYNOPSIS
package My::Socket
use Danga::Socket;
use base (Danga::Socket);
use fields (my_attribute);
sub new {
my My::Socket $self = shift;
$self = fields::new($self) unless ref $self;
$self->SUPER::new( @_ );
$self->{my_attribute} = 1234;
return $self;
}
sub event_err { ... }
sub event_hup { ... }
sub event_write { ... }
sub event_read { ... }
sub close { ... }
$my_sock->tcp_cork($bool);
# write returns 1 if all writes have gone through, or 0 if there
# are writes in queue
$my_sock->write($scalar);
$my_sock->write($scalarref);
$my_sock->write(sub { ... }); # run when previous data written
$my_sock->write(undef); # kick-starts
# read max $bytecount bytes, or undef on connection closed
$scalar_ref = $my_sock->read($bytecount);
# watch for writability. not needed with ->write(). write()
# will automatically turn on watch_write when you wrote too much
# and turn it off when done
$my_sock->watch_write($bool);
# watch for readability
$my_sock->watch_read($bool);
# if you read too much and want to push some back on
# readable queue. (not incredibly well-tested)
$my_sock->push_back_read($buf); # scalar or scalar ref
Danga::Socket->AddOtherFds(..);
Danga::Socket->SetLoopTimeout($millisecs);
Danga::Socket->DescriptorMap();
Danga::Socket->WatchedSockets(); # count of DescriptorMap keys
Danga::Socket->SetPostLoopCallback($code);
Danga::Socket->EventLoop();
This is an abstract base class for objects backed by a socket which provides the basic framework for event-driven asynchronous IO, designed to be fast. Danga::Socket is both a base class for objects, and an event loop.
Callers subclass Danga::Socket. Danga::Sockets constructor registers itself with the Danga::Socket event loop, and invokes callbacks on the object for readability, writability, errors, and other conditions.
Because Danga::Socket uses the "fields" module, your subclasses must too.
Download (0.018MB)
Added: 2007-04-16 License: Perl Artistic License Price:
924 downloads
gnome-socket 0.1.0
gnome-socket provides a simple library for high-level network asynchronous I/O in GNOME applications. more>>
gnome-socket provides a simple library for high-level network asynchronous I/O in GNOME applications.
gnome-socket is a library that provides simple high-level network access to GNOME applications. Its main features are asynchronous DNS lookup and non-blocking network I/O.
Its designed to use the very flexible glib event loop in order to make integration with GNOME programs easy.
<<lessgnome-socket is a library that provides simple high-level network access to GNOME applications. Its main features are asynchronous DNS lookup and non-blocking network I/O.
Its designed to use the very flexible glib event loop in order to make integration with GNOME programs easy.
Download (0.18MB)
Added: 2007-04-18 License: LGPL (GNU Lesser General Public License) Price:
922 downloads
CPP Socket library 0.8.4
CPP Socket library is a small Classlibrary for C++ that supports a easy usage of socket-programming for networking-software. more>>
CPP Socket library is a small Classlibrary for C++ that supports a easy usage of socket-programming for networking-software.
It provides a simple object-oriented interface to the classic C library calls.
With CPPSocket supports the following network protocols:
- TCP (transmission control protocol; needs an established connection from one host to another)
- UDP (user datagram protocol; packets can be sent without an established connection)
- IPv4 (internet protocol version 4; uses 32-bit network addresses)
These protocols are what may also be called TCP/IP.
The library provides two layers of abstraction:
- Low-Level
This is a simple oo interface of the classic socket calls. But it provides some (optional) abstractions for addressing and buffering.
Usefull for more experienced programmers, that have already worked with classic sockets.
- High-Level
This provides somewhat more abstraction and ignores some functionality of the full blown sockets.
But nevertheless it is quite usefull and makes programming of networking software very easy.
So its intended to be used by novice programmers or those who dont want the maximum complexity/flexibility but an easy to use network-interface.
<<lessIt provides a simple object-oriented interface to the classic C library calls.
With CPPSocket supports the following network protocols:
- TCP (transmission control protocol; needs an established connection from one host to another)
- UDP (user datagram protocol; packets can be sent without an established connection)
- IPv4 (internet protocol version 4; uses 32-bit network addresses)
These protocols are what may also be called TCP/IP.
The library provides two layers of abstraction:
- Low-Level
This is a simple oo interface of the classic socket calls. But it provides some (optional) abstractions for addressing and buffering.
Usefull for more experienced programmers, that have already worked with classic sockets.
- High-Level
This provides somewhat more abstraction and ignores some functionality of the full blown sockets.
But nevertheless it is quite usefull and makes programming of networking software very easy.
So its intended to be used by novice programmers or those who dont want the maximum complexity/flexibility but an easy to use network-interface.
Download (MB)
Added: 2006-09-07 License: GPL (GNU General Public License) Price:
678 downloads
ZengaiaSpace 0.2.1a
Zengaia Space is a multiplayer game which can be played over a central Internet server. more>>
Zengaia Space project is a multiplayer game which can be played over a central Internet server.
In the game, you have to build ships, settle new planets, build new shipyards, fight your enemy, and conquer new planets and solar systems.
Enhancements:
- A large bug has been fixed that caused the MySQL connection to crash after about a day running the server.
- Now the server should be up 24/7 again.
<<lessIn the game, you have to build ships, settle new planets, build new shipyards, fight your enemy, and conquer new planets and solar systems.
Enhancements:
- A large bug has been fixed that caused the MySQL connection to crash after about a day running the server.
- Now the server should be up 24/7 again.
Download (0.14MB)
Added: 2006-01-24 License: GPL (GNU General Public License) Price:
1369 downloads
NetPacket::TCP 0.04
NetPacket::TCP is a Perl module to assemble and disassemble TCP (Transmission Control Protocol) packets. more>>
NetPacket::TCP is a Perl module to assemble and disassemble TCP (Transmission Control Protocol) packets.
SYNOPSIS
use NetPacket::TCP;
$tcp_obj = NetPacket::TCP->decode($raw_pkt);
$tcp_pkt = NetPacket::TCP->encode($ip_pkt);
$tcp_data = NetPacket::TCP::strip($raw_pkt);
NetPacket::TCP provides a set of routines for assembling and disassembling packets using TCP (Transmission Control Protocol).
Methods
NetPacket::TCP->decode([RAW PACKET])
Decode the raw packet data given and return an object containing instance data. This method will quite happily decode garbage input. It is the responsibility of the programmer to ensure valid packet data is passed to this method.
NetPacket::TCP->encode($ip_obj)
Return a TCP packet encoded with the instance data specified. Needs parts of the ip header contained in $ip_obj in order to calculate the TCP checksum.
Functions
NetPacket::TCP::strip([RAW PACKET])
Return the encapsulated data (or payload) contained in the TCP packet. This data is suitable to be used as input for other NetPacket::* modules.
This function is equivalent to creating an object using the decode() constructor and returning the data field of that object.
Instance data
The instance data for the NetPacket::TCP object consists of the following fields.
src_port
The source TCP port for the packet.
dest_port
The destination TCP port for the packet.
seqnum
The TCP sequence number for this packet.
acknum
The TCP acknowledgement number for this packet.
hlen
The header length for this packet.
reserved
The 6-bit "reserved" space in the TCP header.
flags
Contains the urg, ack, psh, rst, syn, fin, ece and cwr flags for this packet.
winsize
The TCP window size for this packet.
cksum
The TCP checksum.
urg
The TCP urgent pointer.
options
Any TCP options for this packet in binary form.
data
The encapsulated data (payload) for this packet.
<<lessSYNOPSIS
use NetPacket::TCP;
$tcp_obj = NetPacket::TCP->decode($raw_pkt);
$tcp_pkt = NetPacket::TCP->encode($ip_pkt);
$tcp_data = NetPacket::TCP::strip($raw_pkt);
NetPacket::TCP provides a set of routines for assembling and disassembling packets using TCP (Transmission Control Protocol).
Methods
NetPacket::TCP->decode([RAW PACKET])
Decode the raw packet data given and return an object containing instance data. This method will quite happily decode garbage input. It is the responsibility of the programmer to ensure valid packet data is passed to this method.
NetPacket::TCP->encode($ip_obj)
Return a TCP packet encoded with the instance data specified. Needs parts of the ip header contained in $ip_obj in order to calculate the TCP checksum.
Functions
NetPacket::TCP::strip([RAW PACKET])
Return the encapsulated data (or payload) contained in the TCP packet. This data is suitable to be used as input for other NetPacket::* modules.
This function is equivalent to creating an object using the decode() constructor and returning the data field of that object.
Instance data
The instance data for the NetPacket::TCP object consists of the following fields.
src_port
The source TCP port for the packet.
dest_port
The destination TCP port for the packet.
seqnum
The TCP sequence number for this packet.
acknum
The TCP acknowledgement number for this packet.
hlen
The header length for this packet.
reserved
The 6-bit "reserved" space in the TCP header.
flags
Contains the urg, ack, psh, rst, syn, fin, ece and cwr flags for this packet.
winsize
The TCP window size for this packet.
cksum
The TCP checksum.
urg
The TCP urgent pointer.
options
Any TCP options for this packet in binary form.
data
The encapsulated data (payload) for this packet.
Download (0.011MB)
Added: 2007-02-28 License: Perl Artistic License Price:
971 downloads
Simple Sockets Library 7c
Simple Sockets Library provides a simple C programming interface to sockets. more>>
Simple Sockets Library provides a simple C programming interface to sockets.
The Simple Sockets Library makes sockets easy to use and comes as public domain source code. It resembles Cs file I/O, uses whatever port is available, has named servers and port reuse, streaming/blocking sockets used, polling support, blocking/selection support via numerous functions, timeout control and firewall support.
Main features:
- Resembles Cs file i/o:
- Sclose() Sgets() Sopen() Sprintf() Sputs() Sread() Sscanf() Swrite() Svprintf()
- Uses currently available ports only, so if a server can be brought up, it will be
- Named sockets -- servers have names, not fixed port addresses!
- (no more REUSEADDR problems, linger setting, zombie sockets!)
- Streaming/blocking sockets used
- Polling supported (ie. avoids blocking):
- Stest() Smasktest() Speek()
- Numerous functions to handle multiple concurrent clients:
- Smaskfdset() Smaskpush() Smasktime() Smaskunset() Smaskwait()
- Smaskget() Smaskset() Smaskunfdset() Smaskuse() Sprtmask()
- Smaskpop() Smasktest()
- Timeout control:
- Stimeoutwait() Smasktime()
- The PortMaster (Spm): Maintains a distributed port/server-name database Each machine runs a PortMaster which maps servers by name to their ports (transparent to programmers and users!)
- Firewall Support
- The PortMaster can (optionally) only "put through" connections from approved machine sites
- Supports "path"ing for sockets: one can use an environment variable to track down a server, by name, on any machine in a group:
- Sopenv()
- Doesnt need root privileges (thats Unix lingo...)
- Now supports fixed ports (servers and/or clients) to facilitate interfacing to non-SSL servers/clients
The Simple Sockets Librarys main purpose is to provide an Application Programming Interface that strongly resembles the standard C librarys file handling interface. Thus programmers find that the Simple Sockets Librarys learning curve is particularly short. As a secondary purpose the Simple Sockets Library helps programmers avoid some common programming problems with sockets (avoided: large buffers that dont transfer in their entirety without special effort, the Nagle algorithms practical effect of often limiting one to five transfers per second, servers whose ports refuse to re-open until two minutes have passed, etc). Strings are null-byte terminated just like regular C/C++ strings, facilitating their ease of use in C/C++ programming.
The Simple Sockets Library preferentially uses names for its servers rather than requiring hard-coded port numbers. Imagine if, instead of files having names, everyone went about saying "use sector 4 and track 14" or somesuch thing. This situation reflects what we now have with sockets -- and when two programs use the same port number for their servers, they cant co-exist simultaneously on a system. However, especially for those whose programs must interface with other programs using hard-coded port numbers, the Simple Socket Library also supports hard-code port numbers.
The Simple Sockets Library opens streaming sockets. Thus the Simple Sockets Librarys sockets provide guaranteed delivery of information in the correct order (unlike datagrams, for example).
The PortMaster (Spm), source code for which is part of the library, provides a "phonebook" to map server names to dynamically allocated port numbers. Port numbers thus wont clash; the operating system determines which ones are currently available and the PortMasters effectively publish the result.
Enhancements:
- (Marcel Satchel) improved for Windows
- (Aug 22, 2005) included the "b" option for Sopen() (block until requested server becomes available)
- (Marcel Satchel) Sinit.c fixed (yet again!)
<<lessThe Simple Sockets Library makes sockets easy to use and comes as public domain source code. It resembles Cs file I/O, uses whatever port is available, has named servers and port reuse, streaming/blocking sockets used, polling support, blocking/selection support via numerous functions, timeout control and firewall support.
Main features:
- Resembles Cs file i/o:
- Sclose() Sgets() Sopen() Sprintf() Sputs() Sread() Sscanf() Swrite() Svprintf()
- Uses currently available ports only, so if a server can be brought up, it will be
- Named sockets -- servers have names, not fixed port addresses!
- (no more REUSEADDR problems, linger setting, zombie sockets!)
- Streaming/blocking sockets used
- Polling supported (ie. avoids blocking):
- Stest() Smasktest() Speek()
- Numerous functions to handle multiple concurrent clients:
- Smaskfdset() Smaskpush() Smasktime() Smaskunset() Smaskwait()
- Smaskget() Smaskset() Smaskunfdset() Smaskuse() Sprtmask()
- Smaskpop() Smasktest()
- Timeout control:
- Stimeoutwait() Smasktime()
- The PortMaster (Spm): Maintains a distributed port/server-name database Each machine runs a PortMaster which maps servers by name to their ports (transparent to programmers and users!)
- Firewall Support
- The PortMaster can (optionally) only "put through" connections from approved machine sites
- Supports "path"ing for sockets: one can use an environment variable to track down a server, by name, on any machine in a group:
- Sopenv()
- Doesnt need root privileges (thats Unix lingo...)
- Now supports fixed ports (servers and/or clients) to facilitate interfacing to non-SSL servers/clients
The Simple Sockets Librarys main purpose is to provide an Application Programming Interface that strongly resembles the standard C librarys file handling interface. Thus programmers find that the Simple Sockets Librarys learning curve is particularly short. As a secondary purpose the Simple Sockets Library helps programmers avoid some common programming problems with sockets (avoided: large buffers that dont transfer in their entirety without special effort, the Nagle algorithms practical effect of often limiting one to five transfers per second, servers whose ports refuse to re-open until two minutes have passed, etc). Strings are null-byte terminated just like regular C/C++ strings, facilitating their ease of use in C/C++ programming.
The Simple Sockets Library preferentially uses names for its servers rather than requiring hard-coded port numbers. Imagine if, instead of files having names, everyone went about saying "use sector 4 and track 14" or somesuch thing. This situation reflects what we now have with sockets -- and when two programs use the same port number for their servers, they cant co-exist simultaneously on a system. However, especially for those whose programs must interface with other programs using hard-coded port numbers, the Simple Socket Library also supports hard-code port numbers.
The Simple Sockets Library opens streaming sockets. Thus the Simple Sockets Librarys sockets provide guaranteed delivery of information in the correct order (unlike datagrams, for example).
The PortMaster (Spm), source code for which is part of the library, provides a "phonebook" to map server names to dynamically allocated port numbers. Port numbers thus wont clash; the operating system determines which ones are currently available and the PortMasters effectively publish the result.
Enhancements:
- (Marcel Satchel) improved for Windows
- (Aug 22, 2005) included the "b" option for Sopen() (block until requested server becomes available)
- (Marcel Satchel) Sinit.c fixed (yet again!)
Download (0.18MB)
Added: 2007-03-13 License: Public Domain Price:
962 downloads
bibEC Process Card 1.3.12
bibEC Process Card is a multiple gateway credit card payment processor. more>>
bibEC Process Card is a multiple gateway credit card payment processor.
This class is meant to process credit card payments via one of multiple payment gateways that are supported.
Currently the class supports the following payment gateways: Plug and Pay, Authorize.net, ViaKlix, and paynet . Changing between payment gateways is mostly a matter of changing the class constructor parameter.
The class provides a payment gateway independent API with functions for:
- Logging the payment activity
- Set the payment gateway authentication credentials
- Set the paying customer details
- Set the ship to details
- Set the credit card details
- Set the valuta
- Specify the order details
- Submit the payment processing request and retrieving the results
The payment submission is done securely when possible using PHP SSL socket connections or the Curl extension for PHP or the Curl command line.
<<lessThis class is meant to process credit card payments via one of multiple payment gateways that are supported.
Currently the class supports the following payment gateways: Plug and Pay, Authorize.net, ViaKlix, and paynet . Changing between payment gateways is mostly a matter of changing the class constructor parameter.
The class provides a payment gateway independent API with functions for:
- Logging the payment activity
- Set the payment gateway authentication credentials
- Set the paying customer details
- Set the ship to details
- Set the credit card details
- Set the valuta
- Specify the order details
- Submit the payment processing request and retrieving the results
The payment submission is done securely when possible using PHP SSL socket connections or the Curl extension for PHP or the Curl command line.
Download (MB)
Added: 2007-06-15 License: Freeware Price:
861 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above raw socket constructor 2.1a search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed