diff options
author | David Robillard <d@drobilla.net> | 2008-08-19 18:51:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-19 18:51:06 +0000 |
commit | e16206982d074e62956de00eeef611478f01c430 (patch) | |
tree | 388bc6e5ad9220cf9cdedf865a2d45856f418ae4 /src/libs/shared | |
parent | 14764da12f3808da0c40b643ac8224716f060729 (diff) | |
download | ingen-e16206982d074e62956de00eeef611478f01c430.tar.gz ingen-e16206982d074e62956de00eeef611478f01c430.tar.bz2 ingen-e16206982d074e62956de00eeef611478f01c430.zip |
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
Diffstat (limited to 'src/libs/shared')
-rw-r--r-- | src/libs/shared/OSCSender.cpp | 4 | ||||
-rw-r--r-- | src/libs/shared/OSCSender.hpp | 2 |
2 files changed, 3 insertions, 3 deletions
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; } |