summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-03-06 13:24:26 +0900
committerMinje Ahn <minje.ahn@samsung.com>2015-03-06 13:26:41 +0900
commitffcb05c702ea96fee8f6548a891592d5c2c9c76d (patch)
treec165851ceeb5ba5bf3a5ea2f5ff6212d1291ca0f
parent23d402a209ebef8a4203ced3bdcdfee2f89924eb (diff)
downloadlibmedia-thumbnail-ffcb05c702ea96fee8f6548a891592d5c2c9c76d.tar.gz
libmedia-thumbnail-ffcb05c702ea96fee8f6548a891592d5c2c9c76d.tar.bz2
libmedia-thumbnail-ffcb05c702ea96fee8f6548a891592d5c2c9c76d.zip
Modify TCP to UDP on thumb-server.
Change-Id: I5b60b681bb04e8f19b371e63a1915c217342987f Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rwxr-xr-xserver/thumb-server-internal.c4
1 files 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;