Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Phastlight
Module
NET
Socket
PHP 클래스 Phastlight\Module\NET\Socket
상속:
extends
Phastlight\EventEmitter
파일 보기
프로젝트 열기: phastlight/phastlight
공개 메소드들
메소드
설명
connect
(
$port
,
$host
,
$connectionListener
)
end
(
$data
= null )
getType
( )
setType
(
$type
)
whether this socket should close or not
write
(
$data
,
$callback
= '' )
메소드 상세
connect()
공개
메소드
public
connect
(
$port
,
$host
,
$connectionListener
)
end()
공개
메소드
public
end
(
$data
= null )
getType()
공개
메소드
public
getType
( )
setType()
공개
메소드
whether this socket should close or not
public
setType
(
$type
)
write()
공개
메소드
public
write
(
$data
,
$callback
= '' )