Take a look at this:CNN News Grabber
It's not a link to a news grabber script, just a previous thread. Thought it might help/be of interest![/edit]
It's what I found when someone asked about getting a news grabber. There's links to scripts that may be of use to you if you want to see how other scripts use sockets.
Also, a socket tutorial can be found here:Introduction to Sockets