From ffcb05c702ea96fee8f6548a891592d5c2c9c76d Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Fri, 6 Mar 2015 13:24:26 +0900 Subject: [PATCH] Modify TCP to UDP on thumb-server. Change-Id: I5b60b681bb04e8f19b371e63a1915c217342987f Signed-off-by: Minje Ahn --- server/thumb-server-internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c index 860bc6a..1553604 100755 --- a/server/thumb-server-internal.c +++ b/server/thumb-server-internal.c @@ -421,9 +421,9 @@ gboolean _thumb_server_send_msg_to_agent(int msg_type) ms_thumb_server_msg send_msg; #ifdef _USE_UDS_SOCKET_ - if (ms_ipc_create_client_socket(MS_PROTOCOL_TCP, MS_TIMEOUT_SEC_10, &sock, MS_THUMB_COMM_PORT) < 0) { + if (ms_ipc_create_client_socket(MS_PROTOCOL_UDP, MS_TIMEOUT_SEC_10, &sock, MS_THUMB_COMM_PORT) < 0) { #else - if (ms_ipc_create_client_socket(MS_PROTOCOL_UDP, MS_TIMEOUT_SEC_10, &sock) < 0) { + if (ms_ipc_create_client_socket(MS_PROTOCOL_TCP, MS_TIMEOUT_SEC_10, &sock) < 0) { #endif thumb_err("ms_ipc_create_server_socket failed"); return FALSE; -- 2.7.4