NSStreamTest is a project mainly written in OBJECTIVE-C and RUBY, it's free.
NSStreamを使ってみるサンプル
NSStreamTest
NSStreamでSocket通信してみるサンプルコード