note 18834 deleted from function.socket-create by nlopess

From: Date: Mon, 15 Dec 2003 15:52:58 +0000
Subject: note 18834 deleted from function.socket-create by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-61988@lists.php.net to get a copy of this message
Note Submitter: evan at coeus hyphen group dot com ---- <p>int protocol should be used with getprotobyname... For a while I kept trying socket_create (AF_INET, SOCK_STREAM, TCP); then I figured out it should be socket_create (AF_INET, SOCK_STREAM, getprotobyname("TCP")); Hope this saves someone else the time I wasted...

« previous php.notes (#61988) next »