Re: new networking code, filenames/locations okay?

From: Date: Tue, 29 Aug 2000 20:03:32 +0000
Subject: Re: new networking code, filenames/locations okay?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-31119@lists.php.net to get a copy of this message
On Tue, 29 Aug 2000, Stig Venaas wrote: > Hi > > As I wrote some time ago, I'm trying to rewrite much of the networking > code, I'm trying to keep all the address/protocol-dependent stuff in > one place. > > I have a header file main/php_network.h (name/location okay?) that > declares > > int hostconnect(char *host, int port, int socktype); > > This will be extended later. The code is in main/network.c > (name/location okay?) > > So far I've rewritten php_fopen_url_wrap_http and php_fopen_url_wrap_ftp > to use hostconnect. > > I'm going to add this soon, now that 4.0.2 finally is out. > > Next I'm going to make more code use hostconnect, and extend hostconnect > to have options for blocking/non-blocking and timeout. That should be part of the initial version. The paths are ok. You might want to post a full documentation of the API you are planning for the first commitable version. - Sascha

« previous php.dev (#31119) next »