diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-02 15:05:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-02 15:05:48 +0000 |
commit | 971830b005e76311a0950d26f6862997c892e76a (patch) | |
tree | 599f441faca90309ec3f48698ba5491b0a7017c7 /apps/include | |
parent | 6f39c643ac7af0880f49f7673307053db11218e9 (diff) | |
download | nuttx-971830b005e76311a0950d26f6862997c892e76a.tar.gz nuttx-971830b005e76311a0950d26f6862997c892e76a.tar.bz2 nuttx-971830b005e76311a0950d26f6862997c892e76a.zip |
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
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/ftpc.h | 9 |
1 files changed, 8 insertions, 1 deletions
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 { |