*/peer_t*peer =malloc(sizeof(peer_t));uv_tcp_init(loop, &peer->tcpsock);if(uv_accept (server, (uv_stream_t*) &peer->tcpsock) ==0) {structsockaddr_insin;uv_ip4_addr (remaddr, remport, &sin); peer_start (peer, (struct sockaddr_in *)&sin, clt->sel,1); peer_open (peer...
evt_ctx_set_nio(&ctx,NULL, uv_tls_writer);uv_tcp_tlistener_local;uv_tcp_init(loop, &listener_local); listener_local.data = &ctx; uv_ip4_addr("127.0.0.1", port, &bind_local);if((r = uv_tcp_bind(&listener_local, (struct sockaddr*)&bind_local,0)))fprintf(stderr,"bind: %s\n...