Forum und email

pfsockopen

(PHP 4, PHP 5)

pfsockopen — 지속적인 인터넷이나 유닉스 소켓 연결을 엽니다.

Description

int pfsockopen ( string $hostname , int $port [, int $ errno [, string $ errstr [, int $ timeout ]]] )

이 함수는 스크립트가 끝난뒤에도 연결이 닫히지 않는 차이점을 제외하고 fsockopen()과 정확히 똑같습니다. 이것은 fsockopen()의 지속적인 연결 버전입니다.