By the way, I spotted my mistake because I was comparing what I was doing against the article.
If I were attempting to debug this, I would do just that and use gdb to examine that contents of memory as the client was running. -- This message posted from opensolaris.org