Change-Id: Ic08e5e35897a0c7a531fe85eadf2afaf6f219111
Signed-off-by: jinh0.choi <jinh0.choi@samsung.com>
#include "ecs_internal.h"
-#define HOST_LISTEN_ADDR "127.0.0.1"
-
#define COMMANDS_TYPE "type"
#define COMMANDS_DATA "data"
int ret = -1;
addr.sin_family = AF_INET;
addr.sin_port = htons(port);
-
- if (inet_aton(HOST_LISTEN_ADDR, &addr.sin_addr) == 0) {
- LOG_SEVERE("inet_aton failure\n");
- return -1;
- }
+ addr.sin_addr.s_addr = INADDR_ANY;
ret = qemu_socket(PF_INET, SOCK_STREAM, 0);
if (ret < 0) {