UseSockets Parameter

 Applet: DownloadClient and UploadClient
 Description:

JFile Version 2 provides three means of transferring data to or from the server: URLConnection, Sockets and WinInet (Note: WinInet is not available in JFile 1.x).   URLConnection is the default connection method for Windows + IE and Windows/Unix/Linux + Netscape 4.7x client systems.  To transfer data through sockets, set UseSockets to 1.

If the client system is Mac + IE or Windows/Unix/Linux + Netscape 6.x,  which do not support URLConnection,  JFile will automatically set the transfer method to sockets.

To support users on various operating systems and browsers, you can use UseSockets together with the UseWinInet property.

If both UseSockets and UseWinInet are set to 1:

  • If the client is Windows/Linux/Unix with Nescape, or Mac with IE, sockets will be used.
  • If the client system is Windows with IE, WinInet will be used.  

See also, Transfer Methods.

 Example: <param name="UseSockets" value="1">