TwclObexFtpClient.Connect(Word) Method

Connects to an OBEX server.

Namespace: wclObex
public
 function Connect(const PacketSize: Word = $FFFF): Integer; overload;

Parameters

PacketSize
Type: Word

The maximum OBEX packet size. The minimum allowed value is 0x00FF. The default value is 0xFFFF.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.