Yup, pretty sure I'm going to end up in a dark room somewhere with *cough* Freedom cables hooked up to my testicles.
I'm sure they'll bring this post up when they have me in a dark room with jumper cables hooked up to my testicles."Not so funny now, is it, bitch?"
Oh, hmm. I don't think I've actually written the process thingy up as a library yet. I probably should. It's a bit nicer than system(). Then all those bad programmers out there could do process_thingy("rm
I DID write my socket thingy as a library though, and posted it as a repo on github. You just implement a class that takes its owner, a file descriptor and a sockaddr_in pointer as constructor parameters and overload operator() to do work against the the file descriptor. Mostly it's an academic exercise, but I'll be leveraging it to do some neat things in the coming weeks. It uses pthreads and network socket I/O. Good luck getting that to compile on windows (Maybe you can with cygwin *shrug*.) I don't actually compile any code up there though. It's mostly just up there to illustrate how to do something. Maybe one of these days when I've done enough libraries like that, I'll write a book.
Oh, yeah, and I don't do windows. I think that's what I was going to say right out the gate. Sorry about that. My bad.
That could very easily be the last TV that I ever buy. It's been more and more irrelevant as time goes on -- neither next generation of console interests me, cable's a vast wasteland of uninteresting programming and anything that IS interesting can be found on the Internet with more convenience and less expense. If I need something to look at when I'm in the living room, maybe I could take its guts out and turn it into a fish tank.
"I've seen it. It's rubbish." -- Marvin the Paranoid Android