A coroutine-based wrapper for subprocess.Popen that uses asyncore to communicate with child processes asynchronously. This allows subprocesses to be called from within socket servers or clients without needing a complicated event loop to check both. Uses recipe 576965 to provide the asynchronous coroutine framework, recipe 576967 to provide asynchronous pipes, and recipe 577600 to provide multiple alarms.
Ruby Socket Server is a TCP connection manager and router suitable to be the backend for a chat room, multi-player online game, or similar project. It is made to be extended into robust, event-driven servers.
Return a nested tuple of (uid, (gids)) for a UNIX domain socket, on FreeBSD. This is useful for access control on local servers, which can limit access based on the ID of the connecting user.
The newly introduced security policy for Flash requires the servers to serve the security policy for allowing socket connections to their servers at port 843. This application satisfies this requirement by serving policy files for flash clients.
It's useful for transfering objects through socket, when doing communication between processes or networking.
An output socket that allows zero or more TCP client connections to be made.
A separate thread manages the client connections allowing for multiple clients to connect and disconnect at any time.
Not just for data...
GameQuery allows you to issue "user" queries to Half-Life 1 and Half-Life 2 game servers. The intent is to provide a structure to issue to more games, as well.
This tool is helpful for the users to access web pages from other servers. It supports Extensive Secure Socket Layer to provide secured environment for the web pages. Proxy server, redirection links and cookies are supported by this tool. It also...
Displaying the servers current date is a tutorial which explains about the function to show the servers current date on the websites. The procedure of this tutorial is explained in detail with an example. This tutorial guides the users for...
Dynu TCP socket is an useful component which is enabled in a system to make connection with the remote system for communication. This tool offers several methods and those methods helps users to transfer data they are, create- which is used to...
Replicating Content to Multiple Servers is an ASP.NET tutorial in which author describes the method of duplicating the uploaded files from the web and send the duplicated file to multiple specified location. The author explains the procedure for...
patches socket to tunnel through a tor server either by socks4a or socks5 (tor-resolve required for socks5), being careful not to leak dns requests
pyconstruct required, http://construct.wikispaces.com/
An example implementation of a Nagios script in Python for monitoring database servers via ODBC queries. The example tests contained are for checking the status of MS SQL Server replication and log shipping, but any status check that can be...
This recipe wraps socketpair() to provide a standard socket pair on POSIX systems or a pair of connected sockets using ephemeral ports on Windows.
An issue with socket.recv is how to know when you are done receiving data. A TCP stream guarantees the bytes will not arrive out of order or be sent more than once. But you do not know the size of the data that will be sent to you. 100 bytes...
I have implemented a "broken" client/server to show how socket.shutdown can be more useful than a simple socket.close operation. (I rewrote this to hopefully be more clear)
The close operation is not atomic. It implicitly...
Convert dotted-quad IP addresses to long integer and back, get network and host portions from an IP address, all nice and fast thanks to the builtin socket module (with a little help from the builtin struct module, too).
Sending short text messages with socket datagrams is simple
to implement and provides a very lightweight message passing
KNewMail is designed to check multiple email servers, including POP3, IMAP, and Local files for waiting mail and then notify the user of the waiting mail.
- Multiple notifiers, including docking and sound
The method connects to SMTP servers and retrieves email account information.
Email address syntax checking does not conform to RFC2822, however, it will work fine on normal email address' format.