-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. Something I'm missing here? / Chris PS: Am I perhaps posting in the wrong list? Perhaps I should ask my questions on the enlightenment-users list instead? Sebastian Dransfeld wrote: > The data should be in the event struct you receive on SERVER_DATA > > Sebastian > > Chris Stromblad wrote: > Hmm... perhaps it was just the retarded me who just quite couldn't > figure out how it worked. I thought ecore_con_server_data_get actually > was used to retrieve data from the server I've connected to. > > Apparently that was wrong. > > My problem is half solved now. > > / Chris > > Chris Stromblad wrote: >>>> Hey again, it's me again! >>>> >>>> Before I start asking things, please let me know if my questions are >>>> retarded and are better spent thinking about restrained, under the >>>> influence and heavily guarded. Moving on. >>>> >>>> I'm attempting some very simple stuff using the Ecore_Con stuff. EFL >>>> versions are the latest possible to download on >>>> enlightenment.freedesktop.org. >>>> >>>> My problem is this. I use ecore_con_server_connect to, well, connect to >>>> a server. I add a connection handler for ECORE_CON_EVENT_SERVER_ADD. >>>> Some data is sent using ecore_con_server_send. A handler for data >>>> retrieval has also been added. >>>> >>>> The handlers works as expected and deals with the emitted signals. Now >>>> this is my problem. When the data handler gets called, >>>> ECORE_CON_EVENT_SERVER_DATA, I subsequently use the >>>> ecore_con_server_data_get. This function however always fail? Using >>>> TCPDUMP I can see that the data actually is sent back from the server as >>>> expected. So, now my questions is, how come the function always fail? >>>> >>>> Must be me missing something obvious, no? >>>> >>>> / Chris > ------------------------------------------------------------------------- > 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 > >> - ------------------------------------------------------------------------- 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 > ------------------------------------------------------------------------- > 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRlBh/Rs+yp9zuAsMAQJ7zggAgoxooRjjl4CE7BS53qolnPuA+WIivkZN ChTYXyKbWwLmhTD8bO/tUJBzVI0n5wIt/4laGrshxF8C9BrZL0x5/6sxzMR/3Zpu lWSz9PqdQ6DRvdUtoDFj7rb9aycSYe/eGwfMVrhVLtlgc/SmFarbH8PzvC7HEJn7 fBNucVbVUGX/OvHbrKtEVP+TPorwjQ2tgtWBr0E1RtIXi+mNKs6FMEUaBmklyKpm HSG4dLFOkVatiBYD7mbdrougZh3G8Tl4ELPQyvir1PTiMRdJC/rCW1OtE5QIx25L gbxaCkygUBGfKMvC+VNE9O4KQ+rcgeK1WKGNvTYEZOa3IiUHdwfjGg== =90ul -----END 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