StreamLink.NET
7.1.16-7.1.16-812-a585a9a
|
This interface allows a user application to specify a connection strategy to use when creating Type 1 (direct socket) connections. For example, to negotiate a SOCKS proxy or other custom tunneling requirements. More...
Public Member Functions | |
Socket | CreateSocket (string host, int port) |
This method is called by the library to obtain the socket to be used when connecting to Liberator using a Type 1 (direct socket) connection. More... | |
This interface allows a user application to specify a connection strategy to use when creating Type 1 (direct socket) connections. For example, to negotiate a SOCKS proxy or other custom tunneling requirements.
Socket Caplin.StreamLink.IRawSocketFactory.CreateSocket | ( | string | host, |
int | port | ||
) |
This method is called by the library to obtain the socket to be used when connecting to Liberator using a Type 1 (direct socket) connection.
This method must return a connected socket. StreamLink will take ownership of this socket when the Type 1 connection is established and will close it as necessary.
host | The Liberator host. |
port | The Liberator direct or direct SSL port. |