From: Andrew MacIntyre Date: Sun, 11 Apr 2004 12:05:28 +0000 (+0000) Subject: add AF_UNIX notes X-Git-Tag: v2.4a1~507 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b88820058f4aa1826b23899d4378dc1a2af16b73;p=thirdparty%2FPython%2Fcpython.git add AF_UNIX notes --- diff --git a/PC/os2emx/README.os2emx b/PC/os2emx/README.os2emx index 4238382f968c..ffc518195ac6 100644 --- a/PC/os2emx/README.os2emx +++ b/PC/os2emx/README.os2emx @@ -641,6 +641,14 @@ There are no guarantees to thread safety with this emulation - beware! The emulation was written to support a link() based file locking system used in GNU Mailman. +26. AF_UNIX sockets, otherwise known as Unix domain sockets, are now +supported. Unfortunately, there are some traps arising from the +implementation in IBM's TCP/IP stack:- +- the path name must start with '\\socket\\' ('/socket/' won't work!), + with the length of the full path name less than 108 characters; +- unlike Unix, the socket endpoints don't exist in the filesystem; +- by default, sockets are in binary mode. + ... probably other issues that I've not encountered, or don't remember :-( If you encounter other difficulties with this port, which can be @@ -680,4 +688,4 @@ Andrew MacIntyre E-mail: andymac@bullseye.apana.org.au, or andymac@pcug.org.au Web: http://www.andymac.org/ -2 December, 2003. +11 April, 2004.