diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-11 19:44:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-08-15 18:22:58 +0200 |
| commit | d710869f0a42285e81c72c1e5b9e76886e0d190a (patch) | |
| tree | 2d20b9727c27bb9748d8c2d74625999a30295e52 /src/lib/dcpomatic_socket.h | |
| parent | bb78e4dcbdf5f9592679f0262b97de240fbd62e7 (diff) | |
Add Socket::set_send_buffer_size().
Diffstat (limited to 'src/lib/dcpomatic_socket.h')
| -rw-r--r-- | src/lib/dcpomatic_socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dcpomatic_socket.h b/src/lib/dcpomatic_socket.h index f4520e5cf..7dff979e0 100644 --- a/src/lib/dcpomatic_socket.h +++ b/src/lib/dcpomatic_socket.h @@ -42,6 +42,7 @@ public: return _socket; } + void set_send_buffer_size (int size); void connect (boost::asio::ip::tcp::endpoint); void write (uint32_t n); @@ -87,4 +88,5 @@ private: int _timeout; boost::scoped_ptr<Digester> _read_digester; boost::scoped_ptr<Digester> _write_digester; + boost::optional<int> _send_buffer_size; }; |
