summaryrefslogtreecommitdiffstats
path: root/servers/fpga_server_lin/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-15 19:16:29 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-15 19:16:29 -0500
commit124c87bfad3c10265307d3155d7441648224d031 (patch)
tree07cc66d62903b67e3853d69461bf0077b5cae5fe /servers/fpga_server_lin/src
parent85a646ac4162926c13f0cec836e8d55d5c4ec4d3 (diff)
downloadulab-124c87bfad3c10265307d3155d7441648224d031.tar.gz
ulab-124c87bfad3c10265307d3155d7441648224d031.zip
Add write buffer to krb client and server sockets
Diffstat (limited to 'servers/fpga_server_lin/src')
-rw-r--r--servers/fpga_server_lin/src/fpga_conn.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/fpga_server_lin/src/fpga_conn.cpp b/servers/fpga_server_lin/src/fpga_conn.cpp
index fd1bdfa..2fc2537 100644
--- a/servers/fpga_server_lin/src/fpga_conn.cpp
+++ b/servers/fpga_server_lin/src/fpga_conn.cpp
@@ -205,6 +205,7 @@ void FPGASocket::commandLoop() {
cc = read(m_fd_tty, buffer, 10000);
if (cc > 0) {
writeBlock(buffer, cc);
+ flush();
transferred_data = true;
printf("[DEBUG] Got %d bytes from the serial port\n\r", cc); fflush(stdout);
}