예제 #1
0
 public function testConnectTimeoutUdpImmediately()
 {
     $socket = $this->factory->createUdp4();
     $socket->connectTimeout('google.com:8000', 10);
 }
예제 #2
0
 public function testCreateUdp4()
 {
     $socket = $this->factory->createUdp4();
     $this->assertInstanceOf('Socket\\Raw\\Socket', $socket);
 }