summaryrefslogtreecommitdiffstats
path: root/ingen/SocketReader.hpp
AgeCommit message (Collapse)AuthorFilesLines
2020-02-26Set up serd to read directly from socket without a FILE intermediaryDavid Robillard1-0/+7
This was problematic because using fdopen() conflicts with poll(). If the FILE ends up reading more than is actually processed by serd, then poll will not fire because the socket file descriptor has been fully read, even though there is pending input in the FILE object (which is buffered). Avoid this by using a custom read function and calling recv() directly. In retrospect, this was stupid, but it seemed convenient to be able to use the handy built-in support for reading from a FILE in serd. Now, the client and server are using send() and recv() directly on the socket, as things should be. I am not sure if MSG_WAITALL is the best idea here, or if it's really important at all, but it seems like a good idea.
2019-03-09Clean up includes and forward declarationsDavid Robillard1-2/+2
2018-09-23Use lowercase namespace namesDavid Robillard1-2/+2
2017-12-24Clean up includes in public headersDavid Robillard1-1/+4
2015-10-02Unregister socket clients on hangup.David Robillard1-1/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5735 a436a847-0d15-0410-975c-d299462d15a1
2015-03-02Fix compilation with -fvisibility=hidden.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5611 a436a847-0d15-0410-975c-d299462d15a1
2015-02-07Demodularize socket stuff.David Robillard1-0/+71
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5535 a436a847-0d15-0410-975c-d299462d15a1