I hear people talk about socket programs and I'm like WHAT?!
I hear people talk about socket programs and I'm like WHAT?!
Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
Hell I might even learn something
Well, you know what they say - ignorance is bliss.
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
Sure enough but then again... what am I doing here... let's all go smoke some weed!!!
Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
Hell I might even learn something
A self confessed, "quick and dirty primer" on sockets can be found here...
http://world.std.com/~jimf/papers/sockets/sockets.html
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
A socket is an end point of communication. This is, a point at which we can send and receive data. Sockets are used to create network applications to transfer data over an internet, intranet or even between two PCs.
For example, FTP applications are written using sockets.
If you don't know what FTP is, may God help you.