SocketExample -- using a socket to query mail aliases.
To see this example in action:
  1. Compile the Java source file, SocketExample.java:
    	javac SocketExample.java
    
  2. Run the class:
    	java SocketExample
    

The source.