From 971830b005e76311a0950d26f6862997c892e76a Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 2 Jun 2011 15:05:48 +0000 Subject: Add support so that fdopen() may be used on socket descriptors git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3659 42af7a65-404d-4744-a932-0658087f49c3 --- apps/include/ftpc.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'apps/include/ftpc.h') diff --git a/apps/include/ftpc.h b/apps/include/ftpc.h index 211edbad4..0676a7040 100644 --- a/apps/include/ftpc.h +++ b/apps/include/ftpc.h @@ -112,7 +112,14 @@ typedef FAR void *SESSION; -/* This structure provides information to connect to a host FTP server */ +/* This structure provides information to connect to a host FTP server. + * + * addr - The IPv4 address of the FTP server (or the proxy) for the FTP + * server. + * port - The port number on the FTP server to connect to. This is usually + * port 21 for FTP. You may set this value to zero to let FTPC + * select the default port number for you (CONFIG_FTP_DEFPORT). + */ struct ftpc_connect_s { -- cgit v1.2.3