Code example for SocketFactory

Methods: createSocket