Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created June 19, 2015 22:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shichao-an/b0f21ce69e2b8024022e to your computer and use it in GitHub Desktop.
#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