Improved ebus device handling to use tcp based device too

This commit is contained in:
Roland Jax
2014-02-20 23:11:31 +01:00
parent 521fc4c1ae
commit 3ec0712bc4
10 changed files with 291 additions and 227 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ sock_open(int *fd, int port, int localhost)
int ret, opt;
struct sockaddr_in sock;
*fd = socket(PF_INET, SOCK_STREAM, 0);
*fd = socket(AF_INET, SOCK_STREAM, 0);
err_ret_if(*fd < 0, -1);
/* todo: verify if this realy work */