Well, i think a good example for newbies at sockets (like myself) - retrieves needed data from the website and echo'es it. Only 13 lines, but it does his job for good ;)
/rmd5 [md5 hash]
This here is a YouTube video searcher. It returns the first three videos of your search result.
It returns the Title, Date Added, User, Length, Views, Rating, and URL for each video.
Syntax:
This is a public code snippet repository. Share your snippets with other developers to gain valuable feedback. Tag your snippets with keywords to make them easy to find.