API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ISSL_SETSOCKET()

Brew Release
Brew MP 1.0.2
See Also
ISSL_SetPort()
Description
When using the ISocket interface with SSL, this function must be called to supply a socket already open and connected to the SSL server.
Params
pISSL
[]:
The interface pointer
pISocket
[]:
Pointer to open socket
Interface
Prototype
  •     void ISSL_SetSocket(ISSL *pISSL, ISocket *pISocket)
    
Return
  • none
Side Effect
  • None.
Comments
The ISocket passed in must be open and connected to a server that is ready to start an SSL negotiation. Note that the ISocket passed is an object with an ISocket vtable. It doesn't have to be a standard BREW ISocket, but can instead be an object that implements the ISocket interface. By this mechanism, ISSL can be used on top of any data stream object.