Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created June 19, 2015 22:29
Embed
What would you like to do?
#include "unp.h"
char *sock_ntop(const struct sockaddr *sockaddr, socklen_t addrlen);
/* Returns: non-null pointer if OK, NULL on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment