add log for net building

This commit is contained in:
云风
2013-12-16 13:39:27 +08:00
parent 41ca0c92cb
commit 2d8b061970
2 changed files with 9 additions and 6 deletions

View File

@@ -245,6 +245,8 @@ _connect_to(struct harbor *h, const char *ipaddress, bool blocking) {
int portid = strtol(port+1, NULL,10);
skynet_error(h->ctx, "Harbor(%d) connect to %s:%d", h->id, tmp, portid);
if (blocking) {
return skynet_socket_block_connect(h->ctx, tmp, portid);
} else {