netcat network tool for windows with source code. You can use it and learn it easily.