File path: dist/twist/Core/Models/FTP/Socket.model.php
Namespace: Twist\Core\Models\FTP
connect
— Open a new FTP connection
Name | Description |
---|---|
$strHost | n/a |
$intPort | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strHost = 'foo';
$intPort = 124;
//Call the function connect with the example vars
$resSocket = new \Twist\Core\Models\FTP\Socket();
$resSocket -> connect($strHost, $intPort);