GNUNET_SERVER_client_set_user_context_ (struct GNUNET_SERVER_Client *client,
void *ptr,
size_t size);
+
/**
* Return user context associated with the given client.
*
*addr_lens = saddrlens;
return resi;
}
+
+
/* end ancient copy-and-paste */
one TCP connection to any given peer at the same time.
Without this, peers sometimes disagree about which of the TCP
connections they should use, causing one side to believe that
- they transmit successfully, while the other receives nothing. */
- return NULL; /* Refuse to have more than one TCP connection per
+ they transmit successfully, while the other receives nothing. */return NULL; /* Refuse to have more than one TCP connection per
peer pair at the same time. */
}
* received the punch message and now wants us to use the new connection
* as the default for that peer. Do so and then send a WELCOME message
* so we can really be connected!
- */
- if (ntohs (message->size) != sizeof(struct TCP_NAT_ProbeMessage))
+ */if (ntohs (message->size) != sizeof(struct TCP_NAT_ProbeMessage))
{
GNUNET_break_op (0);
GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
return NULL;
}
+
/* end of plugin_transport_tcp.c */