Gin
Public Member Functions | List of all members
SecureStreamingSocket Class Reference

Public Member Functions

 SecureStreamingSocket (bool secure=true)
 
 ~SecureStreamingSocket ()
 
bool connect (const juce::String &remoteHostname, int remotePortNumber, int timeOutMillisecs=3000)
 
void close ()
 
bool isConnected () const noexcept
 
int read (void *destBuffer, int maxBytesToRead, bool blockUntilSpecifiedAmountHasArrived)
 
int write (const void *sourceBuffer, int numBytesToWrite)
 
int getRawSocketHandle () const noexcept
 
int waitUntilReady (bool readyForReading, int timeoutMsecs)
 

Constructor & Destructor Documentation

◆ SecureStreamingSocket()

SecureStreamingSocket::SecureStreamingSocket ( bool  secure = true)

◆ ~SecureStreamingSocket()

SecureStreamingSocket::~SecureStreamingSocket ( )

Member Function Documentation

◆ connect()

bool SecureStreamingSocket::connect ( const juce::String &  remoteHostname,
int  remotePortNumber,
int  timeOutMillisecs = 3000 
)

◆ close()

void SecureStreamingSocket::close ( )

◆ isConnected()

bool SecureStreamingSocket::isConnected ( ) const
noexcept

◆ read()

int SecureStreamingSocket::read ( void *  destBuffer,
int  maxBytesToRead,
bool  blockUntilSpecifiedAmountHasArrived 
)

◆ write()

int SecureStreamingSocket::write ( const void *  sourceBuffer,
int  numBytesToWrite 
)

◆ getRawSocketHandle()

int SecureStreamingSocket::getRawSocketHandle ( ) const
noexcept

◆ waitUntilReady()

int SecureStreamingSocket::waitUntilReady ( bool  readyForReading,
int  timeoutMsecs 
)

The documentation for this class was generated from the following file: