Chris Stromblad [2007-05-20 14:58]:

Hi Chris,

> Yeah thanks, I did figure it out in the end. There are however something
> that I would consider a bug. Obviously it's also likely it's simply me
> who are not using it correctly.
> 
> Such as: If I connect to a web server and use HTTP/1.0. The server will
> disconnect after sending the requested resource. However, if I use
> ecore_con_server_connected_get, it will still report as being connected.
> Trying to send something using the server handle will fail, yet the
> 'connecting' (the one inside the server struct in ecore_con.c/h)
> variable will not be updated. Or so it seems.

Do you have an event handler for the SERVER_DEL event? It will be
triggered if the remote end closes the connection, IIRC.
That won't fix the behaviour of _server_connected_get(), but it might
give you a neater way of figuring out whether your connection is in a
nice state or not ;)

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Attachment: pgppFIWAzXLst.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to