Tag : server.

Title User Language Tags Description Date
Get time since Jan 1st 1900 from server. Aphex19 C++ This is a pretty long "snippet", but I think it's pretty cool. It requests 4 bytes of data from "time-nw.nist.gov" on port 37, which returns the time in seconds since midnight on Jan 1st 1900, then prints out the time in various formats. WARNING: Do not make requests from this server more than once every 4 seconds (i.e. don't run this program more than once every 4 seconds), or you may be considered to be doing a DOS attack and your IP may be blocked. May 28, 2011
Thread pool mixin class for use with SocketServer.TCPServer Michael Palmer python

This is intended as a drop-in replacement for the ThreadingMixIn class in module SocketServer of the standard lib. Instead of spawning a new thread for each request, requests are processed by of pool of reusable threads.

July 10, 2008
Read Form variables using Server.Transfer(); Brian Montefolka C# Read source page Form Variables using Server.Transfer Method. December 6, 2006
Use Server.MapPath in a class Utkarsh Shigihalli ASP.NET Use Server.MapPath in a class August 8, 2006
Cloudscape - start network server. Patrick Finnegan python

Start and monitor Cloudscape network server.

December 7, 2005
Cloudscape - stop network server. Patrick Finnegan python

Stop the Cloudscape Network Server.

December 7, 2005
Install Application Server. Patrick Finnegan python

Installs application server with multiple custom options.

October 18, 2005
Sync Lotus Domino ldap server with IBM Tivoli Ldap server. Patrick Finnegan python

Script to sync Lotus Domino ldap server with IBM Tivoli server using Tcl ldap package.

Platform - Windows 2000 Server.

November 22, 2004
Import modules from a remote server. S W python

Storing modules in a central location, which are used by remote, seperate clients has obvious benefits. This recipe describes a method by which modules can be fetched from a remote server and compiled into bytecode modules which are used by the client.

The recipe has 3 sections (server.py, client.py, test.py) which need to be copied into 3 files.

September 14, 2004
WSAdmin - Install Server. Patrick Finnegan python

WSAdmin JACL script to install and set properties for an application server running under WAS 5.1 base installation.

Called by a Windows bat file.

@echo off

set server=YourServer

echo ################################################### echo # Install %server% on %COMPUTERNAME% echo ###################################################

command.com /c

call wsadmin -username yourname^ -password yourpassword^ -f C:\scripts\websphere\JACL\installServer.tcl %server%

August 31, 2004
Joe Strout's chat_server.py converted into a python tutorial assignment. Steven F python

A simple 94 lines of code "chat" server with various questions and tips for beginner pythoneers.

August 27, 2004