API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBTFTPSERVER_ACCEPTCONNECTION()

Brew Release
Brew MP 1.0.2
See Also
None
Description
Accepts or rejects the incoming connection request.
Params
_me
[in]:
the object
bAccept
[in]:
TRUE for accepting, FALSE rejecting
pszRoot
[in]:
name of root folder; must not be NULL
cOpAutoHandle
[in]:
bitmap of operations to be automatically handled by lower implementation; ignored if rejecting
Return
AEE_SUCCESS
[]:
The commmand has been scheduled, and CONNECTED event will be generated if accepting the connection request. No events will be generated for rejecting the request.
AEE_EBADSTATE
[]:
No pending connection requests found.
Interface
Prototype
  •    AEEResult IBTFTPServer_AcceptConnection (IBTFTPServer* _me,
                                                boolean bAccept, 
                                                const char* pszRoot,
                                                AEEBTFTPOpBM cOpAutoHandle);
    
Side Effect
  • None
Comments
None