Beispiel #1
0
 public function __construct(SystemCallWrapper $networkWrapper, $host, $port)
 {
     $networkWrapper->sockOpen($host, $port);
     $this->sysCallWrapper = $networkWrapper;
 }
Beispiel #2
0
 function write($data)
 {
     $this->sysCallWrapper->write($data);
 }