Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created June 19, 2015 22:29
Show Gist options
  • Save shichao-an/b0f21ce69e2b8024022e to your computer and use it in GitHub Desktop.
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