I was wondering how to created a network game using winsock or direct play?

Firstly, i still flesh to do a complex work on direct x.
that's why, i have planning to do with the winsock.
i think it is easier for me to do since i am a junior programmer.I just explore the essential skills for vb only.

Anybody can tell me how to created a network connection by using winsock and show me the code?

Mathew Gates can you help me out with this problem?