Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/ftp ftp.c /main network.c php_network.h /main/streams xp_socket.c

2005-07-13 Thread Sara Golemon
Indeed, ftp:// doesn't use the transports layer at all. I'll patch this up -Sara ""Nuno Lopes"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > OK. but at least it could work with 'x.x.x.x:0'. From I what I remember from > the code, it always uses NULL as bindto when calling >

RE: [PHP-DEV] Beta 3

2005-07-13 Thread Mike Robinson
> Thanks as usual to Edin for the quick turnaround on the > Windows builds. +4,294,967,295 Best, Mike Robinson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/ftp ftp.c /main network.c php_network.h /main/streams xp_socket.c

2005-07-13 Thread Nuno Lopes
OK. but at least it could work with 'x.x.x.x:0'. From I what I remember from the code, it always uses NULL as bindto when calling php_network_connect_socket_to_host(). Nuno - Original Message - FTP creates two socket connections during normal operation; it will attempt to bind both

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/ftp ftp.c /main network.c php_network.h /main/streams xp_socket.c

2005-07-13 Thread Wez Furlong
FTP creates two socket connections during normal operation; it will attempt to bind both to the port you specified. --Wez. On 7/13/05, Nuno Lopes <[EMAIL PROTECTED]> wrote: > Well I've tested again and it works also with the 'tcp' wrapper, but not > with ftp. > > consider this: > $bogus = strea

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/ftp ftp.c /main network.c php_network.h /main/streams xp_socket.c

2005-07-13 Thread Nuno Lopes
Well I've tested again and it works also with the 'tcp' wrapper, but not with ftp. consider this: $bogus = stream_context_create(array('socket'=>array('bindto' => "1.2.3.1:5000"))); echo file_get_contents('http://darkstar.ist.utl.pt/gentoo/snapshots/portage-20050712.tar.bz2.md5sum', NULL, $bo

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/ftp ftp.c /main network.c php_network.h /main/streams xp_socket.c

2005-07-13 Thread Ilia Alshanetsky
It is not a wrapper specific context option, it'll work with any TCP/IP socket. Ilia Nuno Lopes wrote: iliaa Mon Jun 13 22:39:43 2005 EDT Modified files: /php-src/main network.c php_network.h /php-src/main/streams xp_socket.c /php-src/ext/ftp ftp.c /php-src NEWS Log: Added bind

[PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/ftp ftp.c /main network.c php_network.h /main/streams xp_socket.c

2005-07-13 Thread Nuno Lopes
iliaa Mon Jun 13 22:39:43 2005 EDT Modified files: /php-src/main network.c php_network.h /php-src/main/streams xp_socket.c /php-src/ext/ftp ftp.c /php-src NEWS Log: Added bindto socket context option. Hi, I was going to document this new feature but I have a question: Does the