|
|
|
@ -1059,7 +1059,8 @@ conn_t *connection_link(conn_sys_t *ssys, const char *host,
|
|
|
|
|
|
|
|
|
|
/* create a socket */
|
|
|
|
|
sck = socket(PF_INET, SOCK_STREAM, 0);
|
|
|
|
|
bzero(&addr, sizeof(addr));
|
|
|
|
|
memset(&addr, 0, sizeof(addr));
|
|
|
|
|
// bzero(&addr, sizeof(addr));
|
|
|
|
|
|
|
|
|
|
/* try to connect it */
|
|
|
|
|
addr.sin_family = AF_INET;
|
|
|
|
|