The following table shows the scripting functions with a description of the purpose of each.
| Programming element | Description |
|---|---|
| RasCustomScriptExecute | This function must be exported by the custom-scripting dynamic-link library (DLL), which is implemented by the developer. RAS calls this function when establishing a connection, allowing the DLL to communicate with the server and thus customize the connection process. |
| RasFreeBuffer | This function releases a memory buffer that was allocated by a previous call to RasGetBuffer. |
| RasGetBuffer | This function allocates memory for sending or receiving data over the port connected to the server. |
| RasReceiveBuffer | This function informs RAS that it is ready to receive data from the server over the specified port. |
| RasRetrieveBuffer | This function obtains data received from the RAS server over the specified port. |
| RasSendBuffer | This function sends data to the server over the specified port. |
Send Feedback on this topic to the authors