httpclient : allow to get TCP source/dest IP and ports in getInfo method
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5426 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
*/
|
||||
|
||||
require_once ("domframework/tcpclient.php");
|
||||
|
||||
/** This programe allow to get a HTTP page from a site, and examine the content.
|
||||
* It will store the Cookies, allow to do the redirects, follow links and
|
||||
* get form / input and send the values.
|
||||
@@ -483,6 +485,13 @@ class Httpclient
|
||||
}
|
||||
// }}}
|
||||
|
||||
/** Return the TCP infos of the connection
|
||||
*/
|
||||
public function getInfo ()
|
||||
{
|
||||
return $this->tcpclient->getInfo ();
|
||||
}
|
||||
|
||||
//////////////////////////////////
|
||||
//// THE ACTIVE METHODS ////
|
||||
//////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user