summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-03-06 04:24:26 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2015-03-06 04:26:41 (GMT)
commitffcb05c702ea96fee8f6548a891592d5c2c9c76d (patch)
treec165851ceeb5ba5bf3a5ea2f5ff6212d1291ca0f /server
parent23d402a209ebef8a4203ced3bdcdfee2f89924eb (diff)
downloadlibmedia-thumbnail-ffcb05c702ea96fee8f6548a891592d5c2c9c76d.zip
libmedia-thumbnail-ffcb05c702ea96fee8f6548a891592d5c2c9c76d.tar.gz
libmedia-thumbnail-ffcb05c702ea96fee8f6548a891592d5c2c9c76d.tar.bz2
Modify TCP to UDP on thumb-server.refs/changes/00/36400/1
Change-Id: I5b60b681bb04e8f19b371e63a1915c217342987f Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server')
-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;