mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
add log for net building
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user