Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Slashdot Deals: Deal of the Day - Pay What You Want for the Learn to Code Bundle, includes AngularJS, Python, HTML5, Ruby, and more. ×
User Journal

Journal Ex-Linux-Fanboy's Journal: For real Slashdot users only

/*Placed in the public domain by Sam Trenholme*/
#include <arpa/inet.h>
#include <string.h>
#define Z struct sockaddr
#define Y sizeof(d)
int main(int a,char **b){long int i;char q[512],p
i;struct sockaddr_in d;bzero(&d,Y);p[14]=(65280&i

Note: There is a single compile-time warning when compiled with -Wall; if this bothers you, you can place 10 bytes of bloat in the form of return 0; at the end of the program (before the final })

Since you are a Slashdot user, I am sure you can figure out exactly what the above code does without needing anything wimpy like documentation.

This discussion has been archived. No new comments can be posted.

For real Slashdot users only

Comments Filter:

I have a theory that it's impossible to prove anything, but I can't prove it.