Home Download News FAQ / Knowledge Base Screenshots Documentation Support
philosophical imaginary

Differences

This shows you the differences between two versions of the page.

documentation:appproto:app_proto [2008/11/26 17:28]
dothebart link to status codes
documentation:appproto:app_proto [2010/02/04 16:07] (current)
dothebart
Line 35: Line 35:
  
 Unlike protocols such as FTP, all data transfers occur in-band. This means that the same connection that is used for exchange of client/server messages, will also be used to transfer data back and forth. (FTP opens a separate connection for data transfers.) This keeps protocol administration straightforward, as it can traverse firewalls without any special protocol support on the firewall except for opening the port number. Unlike protocols such as FTP, all data transfers occur in-band. This means that the same connection that is used for exchange of client/server messages, will also be used to transfer data back and forth. (FTP opens a separate connection for data transfers.) This keeps protocol administration straightforward, as it can traverse firewalls without any special protocol support on the firewall except for opening the port number.
 +
  
  
Line 43: Line 44:
 The first digit is the most important. The following codes are defined for this position: [[documentation:appproto:statuscodes|ERROR]], [[documentation:appproto:statuscodes|OK]], [[documentation:appproto:statuscodes|MORE_DATA]], [[documentation:appproto:statuscodes|LISTING_FOLLOWS]], and [[documentation:appproto:statuscodes|SEND_LISTING]]. The first digit is the most important. The following codes are defined for this position: [[documentation:appproto:statuscodes|ERROR]], [[documentation:appproto:statuscodes|OK]], [[documentation:appproto:statuscodes|MORE_DATA]], [[documentation:appproto:statuscodes|LISTING_FOLLOWS]], and [[documentation:appproto:statuscodes|SEND_LISTING]].
  
-The second and third digits may provide a reason as to why a command succeeded or failed. See ipcdef.h for the available codes.+[[documentation:appproto:statuscodes|The second and third digits may provide a reason]] as to why a command succeeded or failed. See ipcdef.h for the available codes.
  
   * [[documentation:appproto:statuscodes|ERROR]] means the command did not complete. [[documentation:appproto:statuscodes|OK]] means the command executed successfully. [[documentation:appproto:statuscodes|MORE_DATA]] means the command executed partially.  Usually this means that another command needs to be executed to complete the operation.  For example, sending the USER command to log in a user usually results in a [[documentation:appproto:statuscodes|MORE_DATA]] result code, because the client needs to execute a PASS command to send the password and complete the login.   * [[documentation:appproto:statuscodes|ERROR]] means the command did not complete. [[documentation:appproto:statuscodes|OK]] means the command executed successfully. [[documentation:appproto:statuscodes|MORE_DATA]] means the command executed partially.  Usually this means that another command needs to be executed to complete the operation.  For example, sending the USER command to log in a user usually results in a [[documentation:appproto:statuscodes|MORE_DATA]] result code, because the client needs to execute a PASS command to send the password and complete the login.
Copyright © 1987-2020 Uncensored Communications Group. All rights reserved.     Login (site admin)