From e16206982d074e62956de00eeef611478f01c430 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Aug 2008 18:51:06 +0000 Subject: Preliminary connecting via HTTP in Gtk client. Better handling of overflowed client event receive buffer. Store fixes, complain only once about orphans, don't request an orphan parent over and over. git-svn-id: http://svn.drobilla.net/lad/ingen@1447 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/shared/OSCSender.cpp | 4 ++-- src/libs/shared/OSCSender.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libs/shared') diff --git a/src/libs/shared/OSCSender.cpp b/src/libs/shared/OSCSender.cpp index 340786db..3936cf96 100644 --- a/src/libs/shared/OSCSender.cpp +++ b/src/libs/shared/OSCSender.cpp @@ -94,8 +94,8 @@ void OSCSender::send_message(const char* path, lo_message msg) { // FIXME: size? liblo doesn't export this. - // Don't want to exceed max UDP packet size (1500 bytes?) - static const size_t MAX_BUNDLE_SIZE = 1500 - 32*5; + // Don't want to exceed max UDP packet size (good default value?) + static const size_t MAX_BUNDLE_SIZE = 1024; if (!_enabled) return; diff --git a/src/libs/shared/OSCSender.hpp b/src/libs/shared/OSCSender.hpp index 16b6dd22..da91caed 100644 --- a/src/libs/shared/OSCSender.hpp +++ b/src/libs/shared/OSCSender.hpp @@ -27,7 +27,7 @@ namespace Shared { class OSCSender { public: OSCSender(); - ~OSCSender(); + virtual ~OSCSender() {} lo_address address() const { return _address; } -- cgit v1.2.1