Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Phastlight
Module
NET
Socket
PHP Class Phastlight\Module\NET\Socket
Inheritance:
extends
Phastlight\EventEmitter
Afficher le fichier
Open project: phastlight/phastlight
Méthodes publiques
Méthode
Description
connect
(
$port
,
$host
,
$connectionListener
)
end
(
$data
= null )
getType
( )
setType
(
$type
)
whether this socket should close or not
write
(
$data
,
$callback
= '' )
Method Details
connect()
public
méthode
public
connect
(
$port
,
$host
,
$connectionListener
)
end()
public
méthode
public
end
(
$data
= null )
getType()
public
méthode
public
getType
( )
setType()
public
méthode
whether this socket should close or not
public
setType
(
$type
)
write()
public
méthode
public
write
(
$data
,
$callback
= '' )