Sergey Pastor / 1

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

FtpServerContext Struct Reference

FtpServerContext Struct Reference

FTP server context. More...

#include <ftp_server.h>

Data Fields

FtpServerSettings settings
 User settings.
OsEvent event
 Event object used to poll the sockets.
Socket * socket
 Listening socket.
uint16_t passivePort
 Current passive port number.
FtpClientConnectionconnection [FTP_SERVER_MAX_CONNECTIONS]
 Client connections.
SocketEventDesc eventDesc [2 *FTP_SERVER_MAX_CONNECTIONS+1]
 The events the application is interested in.

Detailed Description

FTP server context.

Definition at line 315 of file ftp_server.h.


Field Documentation

FtpClientConnection* connection[FTP_SERVER_MAX_CONNECTIONS]

Client connections.

Definition at line 321 of file ftp_server.h.

Event object used to poll the sockets.

Definition at line 318 of file ftp_server.h.

SocketEventDesc eventDesc[2 *FTP_SERVER_MAX_CONNECTIONS+1]

The events the application is interested in.

Definition at line 322 of file ftp_server.h.

uint16_t passivePort

Current passive port number.

Definition at line 320 of file ftp_server.h.

User settings.

Definition at line 317 of file ftp_server.h.

Socket* socket

Listening socket.

Definition at line 319 of file ftp_server.h.