new networking code, filenames/locations okay?

From: Date: Tue, 29 Aug 2000 19:24:57 +0000
Subject: new networking code, filenames/locations okay?
Groups: php.dev 
Request: Send a blank email to php-dev+get-31111@lists.php.net to get a copy of this message
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. And after that I'll probably go for the resolver functions, and also make hostconnect use them. Unless anyone responds, I'll start adding stuff as planned in a day or so. Stig

« previous php.dev (#31111) next »