summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_socket.h
diff options
context:
space:
mode:
authorManikandan C <mchockalingam@de.adit-jv.com>2018-11-28 11:01:44 +0100
committerChristoph Lipka <clipka@users.noreply.github.com>2018-12-21 10:16:46 +0100
commit2262f8b3406ac903a37f96a63c6250de215d1866 (patch)
treea5fcd778ae75d9ac1cd04202324a00ab50d3c7bd /src/daemon/dlt_daemon_socket.h
parent037d33d0c1bc83ca79812340ea9120d13fd1c705 (diff)
downloadDLT-daemon-2262f8b3406ac903a37f96a63c6250de215d1866.tar.gz
Made socket send reliable
Made TCP socket send reliable by storing the unsent/partial message in the ring buffer. This will avoid the corrupted messages/Gaps in Viewer side Signed-off-by: ManikandanC <Manikandan.Chockalingam@in.bosch.com>
Diffstat (limited to 'src/daemon/dlt_daemon_socket.h')
-rw-r--r--src/daemon/dlt_daemon_socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_socket.h b/src/daemon/dlt_daemon_socket.h
index a7f9ca6..a94990f 100644
--- a/src/daemon/dlt_daemon_socket.h
+++ b/src/daemon/dlt_daemon_socket.h
@@ -76,6 +76,6 @@ int dlt_daemon_socket_send(int sock,void* data1,int size1,void* data2,int size2,
* @param message_size
* @return on sucess: DLT_DAEMON_ERROR_OK, on error: DLT_DAEMON_ERROR_SEND_FAILED
*/
-int dlt_daemon_socket_sendreliable(int sock, void* buffer,int message_size);
+int dlt_daemon_socket_sendreliable(int sock, void* data_buffer, int message_size, int* bytes_sent);
#endif /* DLT_DAEMON_SOCKET_H */