SHARE
TWEET

sockaddr_in undocumented

ringneckparrot Apr 9th, 2012 176 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /****************************************************************************
  2.         ringneckparrot (c)
  3.         License: http://creativecommons.org/licenses/by-nc-sa/3.0/
  4.        
  5.         Contact Me:
  6.         Email: ringneckparrot@hotmail.com
  7.         Facebook: http://www.facebook.com/ringneckparrot
  8.         Twitter ID: pp4rr0t
  9.         SecurityTube: http://www.securitytube.net/user/ringneckparrot
  10.  
  11. ****************************************************************************/
  12.  
  13. #include <stdio.h>
  14. #include <stdlib.h>
  15. #include <netinet/in.h>
  16. #include <strings.h>
  17.  
  18. main()
  19. {
  20.         struct sockaddr_in info;
  21.  
  22.         info.sin_family = AF_INET;
  23.         info.sin_port = htons(1234);  
  24.         info.sin_addr.s_addr = INADDR_ANY;
  25.         bzero(&info.sin_zero, 8);
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top