Example #1
0
int tcp_get_remote_name(tcp_sock_t *p_self, const char **p)
{
	if (p_self == NULL) {
		return RC_INVALID_POINTER;
	}

	return ip_get_remote_name(&p_self->super, p);
}
Example #2
0
int tcp_get_remote_name(tcp_sock_t *tcp, const char **p)
{
	ASSERT(tcp);

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