Committed rev 615217.
Each test in SocketServerTestCase (which appears in both log4j and log4cxx) uses SocketAppender to write several events, launches a receiver to capture the transmitted events and relogs them to a file and then compares the file against a reference file.
The test previously attempted to launch (using platform specific code) a native code receiver, however the native code receiver was stubbed during the Unicode switch and then deleted with the migration to a log4j compatible wire format.
build.xml has been modified to add a "run-socketserver" target which will compile and launch a Java receiver and then run the native part of the test. This test is not part of "make check" since not all platforms will have a java compiler and JRE.
The test did uncover a few issues with the implementation of SocketAppender and SocketHubAppender (loss of NDC and MDC, loss of location info) which are also fixed in the rev.