IT_PPPConnect

4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 6.8.1


IT_PPPConnect (pppProfil) Integer

ParameterTypeDescription
pppProfilStringDial-up name = Null string on Mac OS,
fill under Windows
Function resultIntegerError code

Description

The IT_PPPConnect command opens the current dial-up connection under Mac OS or the specified dial-up connection (pppProfil) parameter under Windows. This command acts as a function and returns an integer value error if the connection cannot be opened.

This command must be executed each time you need to execute a set of Internet Commands that works online. On completion, you must execute IT_PPPDisconnect to close the current connection.

PPP (Point-to-Point Protocol) is a protocol for communication between two computers using a serial interface, typically a personal computer connected by a phone line to a server. For instance, your Internet server provider may supply you with a PPP connection so that the provider's server can respond to your requests, pass them on to the Internet and forward your requested Internet responses back to you. Essentially, it packages your computer's TCP/IP packets and forwards them to the server where they can actually be served on the Internet.

PPP is usually preferred over the former de facto standard Serial Line Internet Protocol (SLIP) because it can handle synchronous as well as asynchronous communication. PPP can share a line with other users and has an error detection function, neither of which is true for SLIP. If a choice is possible, PPP is preferred.

See Also

IT_MacTCPInit, IT_PPPDisconnect, IT_PPPStatus.


4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next