Fixed missing test for closed socket in PTCPSocket::Write(), which then returns true if writing zero bytes.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31167 023b2edf-31b2-4de3-b41e-bca80c47788f
Cleaned up documentation

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31168 023b2edf-31b2-4de3-b41e-bca80c47788f
Added prefixed PTime format for logging, e.g. 2011/02/09 11:13:06.312

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31169 023b2edf-31b2-4de3-b41e-bca80c47788f
First cut at WebSocket support.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31176 023b2edf-31b2-4de3-b41e-bca80c47788f
Added ability to detach a PIndirectSocket read/write socket without closing it.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31181 023b2edf-31b2-4de3-b41e-bca80c47788f
Fixed various WebSocket issues.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31186 023b2edf-31b2-4de3-b41e-bca80c47788f
Merged revision(s) 31154-31190 from ptlib/branches/v2_12:
Applied patch for v4l loopback, thanks Alexander Sbitnev


git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31191 023b2edf-31b2-4de3-b41e-bca80c47788f
Merged revision(s) 31191-31192 from ptlib/branches/v2_12:
Fixed inclusion of interfaces in socket bundling that are not bound to an IP address.


git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31193 023b2edf-31b2-4de3-b41e-bca80c47788f
Added remembering directory last used for Source Forge upload.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31200 023b2edf-31b2-4de3-b41e-bca80c47788f
Added another variant of PRandom::Octets()

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31215 023b2edf-31b2-4de3-b41e-bca80c47788f
Added ability to use same initialiser for both PStringToOrdinal and POrdinalToString dictionaries.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31222 023b2edf-31b2-4de3-b41e-bca80c47788f
Added function to move a PSafeObject from one key to another in a PSafeDictionary.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31223 023b2edf-31b2-4de3-b41e-bca80c47788f
Added easier function to get MAC address of machine.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31225 023b2edf-31b2-4de3-b41e-bca80c47788f
Fixed compile

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31226 023b2edf-31b2-4de3-b41e-bca80c47788f
Merged revision(s) 31193-31238 from ptlib/branches/v2_12:
Another go at making sure unbound interfaces correctly have an invalid IP address instead of INADDR_ANY.


git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31239 023b2edf-31b2-4de3-b41e-bca80c47788f
Merged revision(s) 31239-31241 from ptlib/branches/v2_12:
Fixed detecting if a socket has closed by remote when writing zero bytes.


git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31242 023b2edf-31b2-4de3-b41e-bca80c47788f
Allow for the log file to be cleared synchronously with writing, so doe not give error most of the time.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31248 023b2edf-31b2-4de3-b41e-bca80c47788f
Added log to start of new log when clearing log.

git-svn-id: svn://svn.code.sf.net/p/opalvoip/code/ptlib/trunk@31250 023b2edf-31b2-4de3-b41e-bca80c47788f