Abstract:WinSock is a group of API,which is used to transmit data and exchange information on Internet,the Socket Application programme impoldered by users may communicate with other Socket Application programes by Internet. Delphi provides Socket components,which sustains the TCP/IP protocol and makes the Internet programming acquiring much more flexibility.This paper probes that how to realize transmission of files in any format under nonblocking mode between clients and servers by means of Socket components of Delphi.