com.sap.core.connectivity.api.ldap

## Interface ConnectivitySocketFactory

-     public interface ConnectivitySocketFactory

  Socket factory capable of creating Sockets to on premise systems.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Socket` | `createConnectivitySocket(String host, int port)` Creates a socket and connects it to on premise server specified with the given virtual host and port.

- - ### Method Detail

    - #### createConnectivitySocket

          Socket createConnectivitySocket(String host,
                                        int port)
                                          throws IOException

      Creates a socket and connects it to on premise server specified with the given virtual host and port.
      Parameters:
        `host` - Virtual host of the on premise server
        `port` - Virtual port of the on premise server
      Returns:
        Connected Socket
      Throws:
        `IOException` - if an I/O error occurs during socket creation

Copyright © 2018 SAP. All Rights Reserved.