In file "main/streams.c, function PHPAPI size_t _php_stream_read(php_stream *stream, char *buf, size_t size TSRMLS_DC) is called when php script is trying to connect and read from remote web server.
I have so far traced that it is calling toread = stream->ops->read(stream, buf, size TSRMLS_CC); at line 641. I need to figure out which function is actully called by function pointer stream->ops->read ? This is PHP 4.4.7. I know this is old version, I am only trying to debug mu TCP stack. Thanks for help.