4D Internet Commands v16

IT_PPPConnect

Home

 
4D Internet Commands v16
IT_PPPConnect

IT_PPPConnect 


 

IT_PPPConnect ( pppProfil ) -> Function result 
Parameter Type   Description
pppProfil  String in Dial-up name = Null string on Mac OS, fill under Windows
Function result  Integer in Error code

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

 
PROPERTIES 

Product: 4D Internet Commands
Theme: IC Utilities
Number: 88854

 
HISTORY 

Created: 4D Internet Commands 6.8.1

 
TAGS 

PPP, SLIP

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)