On 9/11/05, RG <[EMAIL PROTECTED]> wrote:
> Yeah I have seen those functions, but they are quite bloated in my opnion.

Maybe so, but at least they work :)

> Is there any way of getting the resource id without modifying sockets?

Nope.

--Wez.

> "Wez Furlong" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> On 9/11/05, RG <[EMAIL PROTECTED]> wrote:
> > Well, I've improved the socket_accept and socket_connect functions and
> I've
> > name them socketi_*. socketi_accept returns the IP as well as the port
> > number, and socket_connect has a timeout function.
> 
> Have you seen stream_socket_server(), stream_socket_accept(),
> stream_socket_get_name() and stream_socket_client() in PHP 5?
> 
> > By the way, what function should give me the list id?
> > zend_list_find() or something similar?
> 
> The sockets extension would need to provide a new function that
> returns the value of le_socket, which you'd then use in the same way
> that the sockets extension does.
> 
> --Wez.
> 
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to