commit | 9c297af277bdc7f79a593db0060582c92310f980 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Tue Jan 17 09:35:21 2017 +0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Jan 17 05:40:10 2017 -0600 |
tree | 139edc8e9a88783bb2143e523411a115266673e0 | |
parent | 45ad76763c79b7925b3ddfe94f46519c1f0726ac [diff] |
socket-handler: only send if the queue is empty If we're able to do a non-blocking send (but haven't yet received the POLLOUT event), then we may end up sending data out-of-order. This change only attempts a write if we have nothing in the queue. Change-Id: Ie207ee10cdee27731dab30474bbdbafb51c31760 Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Note: In addition to a toolchain and autoconf tools, this requires autotools-archive
to be installed.
To build this project, run the following shell commands:
./bootstrap.sh ./configure ${CONFIGURE_FLAGS} make
To fully clean the repository, run:
./bootstrap.sh clean
Running the server requires a serial port (e.g. /dev/ttyS0):
touch obmc-console.conf ./obmc-console-server --config obmc-console.conf ttyS0
To connect to the server, simply run the client:
./obmc-console-client
To disconnect the client, use the standard ~.
combination.