use send instead of write
authorSon Hyunjun <hj79.son@samsung.com>
Wed, 14 Mar 2012 15:39:04 +0000 (00:39 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Wed, 14 Mar 2012 15:39:04 +0000 (00:39 +0900)
tizen/src/skin/maruskin_server.c

index 8244eb7..c3388f7 100644 (file)
@@ -516,7 +516,7 @@ static int send_skin( int client_sock, short send_cmd ) {
     p += sizeof( request_id );
     memcpy( p, &data, sizeof( data ) );
 
-    ssize_t write_count = write( client_sock, sendbuf, SEND_HEADER_SIZE );
+    ssize_t write_count = send( client_sock, sendbuf, SEND_HEADER_SIZE, 0 );
 
     return write_count;