E&S CVS Commit: PEAK - Socket address schemes for tcp, udp, unix, and unix.dg (datagram).

tsarna at eby-sarna.com tsarna at eby-sarna.com
Fri Nov 21 16:50:01 EST 2003


Module Name:	PEAK
Committed By:	tsarna
Date:		Fri Nov 21 21:49:00 UTC 2003

Added Files:
	PEAK/src/peak/net: interfaces.py sockets.py

Log Message:
Socket address schemes for tcp, udp, unix, and unix.dg (datagram).
unix.dg is to udp as unix is to tcp.

These can currently be adapted to either IClientSocket or
IListeningSocket depending on what you want to do with them. Either way
gets you back a socket object that is configured as appropriate.

(Later, there will be and ISocketListener for use with reactors that
properly handles the "more than one socket for this address" issue, but
we can't really support that for fastcgi servers anyway right now)


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/net/interfaces.py?rev=1.1&content-type=text/vnd.viewcvs-markup
http://cvs.eby-sarna.com/PEAK/src/peak/net/sockets.py?rev=1.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r0 -r1.1 PEAK/src/peak/net/interfaces.py \
    PEAK/src/peak/net/sockets.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list