cvs: php4 /ext/sockets sockets.c

From: Date: Wed, 01 May 2002 16:08:50 +0000
Subject: cvs: php4 /ext/sockets sockets.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11596@lists.php.net to get a copy of this message
mfischer Wed May 1 12:08:50 2002 EDT Modified files: /php4/ext/sockets sockets.c Log: - Update protos for getpeer/getsock-name. Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.108 php4/ext/sockets/sockets.c:1.109 --- php4/ext/sockets/sockets.c:1.108 Wed May 1 11:14:49 2002 +++ php4/ext/sockets/sockets.c Wed May 1 12:08:50 2002 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sockets.c,v 1.108 2002/05/01 15:14:49 jason Exp $ */ +/* $Id: sockets.c,v 1.109 2002/05/01 16:08:50 mfischer Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -772,7 +772,7 @@ /* }}} */ /* {{{ proto bool socket_getsockname(resource socket, string &addr[, int &port]) - Given an fd, stores a string representing sa.sin_addr and the value of sa.sin_port into addr and port describing the local side of a socket */ + Queries the remote side of the given socket which may either result in host/port or in a UNIX filesystem path, dependent on its type. */ PHP_FUNCTION(socket_getsockname) { zval *arg1, *addr, *port = NULL; @@ -829,7 +829,7 @@ /* }}} */ /* {{{ proto bool socket_getpeername(resource socket, string &addr[, int &port]) - Given an fd, stores a string representing sa.sin_addr and the value of sa.sin_port into addr and port describing the remote side of a socket */ + Queries the remote side of the given socket which may either result in host/port or in a UNIX filesystem path, dependent on its type. */ PHP_FUNCTION(socket_getpeername) { zval *arg1, *arg2, *arg3 = NULL;

« previous php.cvs (#11596) next »