Hi!
2. What does streams has to do with this networking? Can it be done using
streams?
Yes, it can. Take the following simple, incomplete example without much
error handling as a starting point:
// in the header
#include "php_streams.h"
// PHP function:
PHP_FUNCTION(simplehttp_fetch)
{
php
Hey guys,
I just started hacking PHP. I want to use Netwok Functions.
So far from the source code browsing I learnt that In PHP *"obvious"
solution is not the right answer.*
The obvious solution for implementing HTTP methods or any Network functions
for that matter, is using socket(), connect(),