How to use winsock to sent a file and Receive(編號:941)

How to use winsock to sent a file and Receive?
Use Microsoft Winsock 6.0
Please.