Ga Tech education

Mar 27, 2006 22:19

I think that my GT CS education was not quite adequate. How do I go four years pretty much loaded up on CS classes and have no fucking clue what a select loop? Actually I am pretty sure it's cause I took very few networking classes and the basic networking class was too simplistic. Or maybe I feel particularly clueless on this subject because I ( Read more... )

Leave a comment

Comments 2

friedfly March 28 2006, 16:28:09 UTC
I knew a select loop, but I knew _nothing_ about databases when I started at aD. I think because I never took a database class. :)

I think that our field is just big enough that anyone is going to have some holes in their education when they start out.

Reply


(The comment has been removed)

bjornick March 30 2006, 07:28:01 UTC
It's sorta like a passive polling. You tell the kernel what sockets you are waiting to read, write, and handle exceptions on and then you block. The kernel wakes you up when the socket is ready for read, write, or handle exceptions and gives you back a list of file descriptors that it woke you up for. You do what you need to do and then sleep again.

see man select for more details.

It's apparently how the cool kids do networking apparently

Reply


Leave a comment

Up