Introduction - If you have any usage issues, please Google them yourself
Beijing University of Posts and Telecommunications published in ns tutorial- <ns与网络模拟> , Speaking also. The book comes with source code, you can test, the second chapter the second example seems to have problems.