"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/transports.cxx" between
h323plus-1_26_9.tar.gz and h323plus-1_27_0.tar.gz

About: H.323 Plus offers libraries for voice (VoIP) and videoconferencing using H.323.

transports.cxx  (h323plus-1_26_9):transports.cxx  (h323plus-1_27_0)
skipping to change at line 53 skipping to change at line 53
#include "gkclient.h" #include "gkclient.h"
#ifdef P_STUN #ifdef P_STUN
#include <ptclib/pstun.h> #include <ptclib/pstun.h>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(disable : 4701) // initialisation warning #pragma warning(disable : 4701) // initialisation warning
#endif #endif
#endif #endif
#ifdef H323_TLS #ifdef H323_TLS
#include <openssl/opensslv.h>
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <openssl/err.h> #include <openssl/err.h>
#endif #endif
// TCP KeepAlive // TCP KeepAlive
static int KeepAliveInterval = 19; static int KeepAliveInterval = 19;
class H225TransportThread : public PThread class H225TransportThread : public PThread
{ {
PCLASSINFO(H225TransportThread, PThread) PCLASSINFO(H225TransportThread, PThread)
skipping to change at line 1348 skipping to change at line 1349
void H323ListenerTCP::Main() void H323ListenerTCP::Main()
{ {
PTRACE(2, TypeAsString() << "\tAwaiting " << TypeAsString() << " connections o n port " << listener.GetPort()); PTRACE(2, TypeAsString() << "\tAwaiting " << TypeAsString() << " connections o n port " << listener.GetPort());
while (listener.IsOpen()) { while (listener.IsOpen()) {
H323Transport * transport = Accept(PMaxTimeInterval); H323Transport * transport = Accept(PMaxTimeInterval);
if (transport != NULL) if (transport != NULL)
new H225TransportThread(endpoint, transport); new H225TransportThread(endpoint, transport);
} }
#ifdef P_SSL #ifdef P_SSL
ERR_remove_state(0); #if (OPENSSL_VERSION_NUMBER < 0x10100000L)
ERR_remove_thread_state(NULL);
#endif
#endif #endif
} }
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#ifdef H323_TLS #ifdef H323_TLS
H323ListenerTLS::H323ListenerTLS(H323EndPoint & endpoint, PIPSocket::Address bin ding, WORD port, PBoolean exclusive) H323ListenerTLS::H323ListenerTLS(H323EndPoint & endpoint, PIPSocket::Address bin ding, WORD port, PBoolean exclusive)
: H323ListenerTCP(endpoint, binding, port, exclusive, H323TransportSecurity::e_t ls) : H323ListenerTCP(endpoint, binding, port, exclusive, H323TransportSecurity::e_t ls)
{ {
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)