1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 13:53:35 +02:00

Make an abstract class for sockets and allow specifying different socket in SourceQuery

This is a preparation for tests
This commit is contained in:
Pavel Djundik
2015-10-19 22:18:10 +03:00
parent 412bad768c
commit 9c944e23d0
4 changed files with 42 additions and 10 deletions
+1 -8
View File
@@ -23,15 +23,8 @@
* @uses xPaw\SourceQuery\Exception\InvalidPacketException
* @uses xPaw\SourceQuery\Exception\SocketException
*/
class Socket
class Socket extends BaseSocket
{
public $Socket;
public $Engine;
public $Ip;
public $Port;
public $Timeout;
public function Close( )
{
if( $this->Socket )