Ejemplo n.º 1
0
int tcp_set_remote_name(tcp_sock_t *p_self, const char *p)
{
	if (p_self == NULL) {
		return RC_INVALID_POINTER;
	}

	return ip_set_remote_name(&p_self->super, p);
}
Ejemplo n.º 2
0
int tcp_set_remote_name(tcp_sock_t *tcp, const char *p)
{
	ASSERT(tcp);

	return ip_set_remote_name(&tcp->ip, p);
}