Skip to content

Instantly share code, notes, and snippets.

@rxdazn
Created April 1, 2012 16:22
Show Gist options
  • Save rxdazn/2276758 to your computer and use it in GitHub Desktop.
Save rxdazn/2276758 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
int main(int argc, char **argv)
{
struct sock_addr_in sin;
printf("toto: %d\n",sizeof(sin));
return (EXIT_FAILURE);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment