update network examples to compile
Merge pull request #130 from stonetoad/master

update network examples to compile