The data should be in the event struct you receive on SERVER_DATA

Sebastian

Chris Stromblad wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iQEVAwUBRk9+9hs+yp9zuAsMAQKTVAf/SncbhSKxZWvxMm+B549lwvBIFyB9doLo
> R1WjYKUobuv6gEqMzK7W4NMhDGW3HeWTYVRWb3VtDGSZFi98UUYx+tPgHT2wUrKL
> /D7jfYDvfM8o9af+e2wFJ9I1/ZNviSSBT1zSPWc9wO9n3ByLbd431DKQZpcuoF9O
> PO7Zvbyp+oZQKPeLR1PzPUwE4c+/WfkGSHL3zyu3Zu701DLz1cPEtv5BWSjoD/Oj
> ILm4I1MTwmE9D5zD7v7ivKRIOImi1sC8+INUC5hHDXM1XbV5NnM7zs+9BgqQL46C
> +9OWE8rGmP6a9en4M0P/ftu1MSVnFp6iDWp+Gq5R3EOMtMQ0BIIe5g==
> =9mwU
> -----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


-------------------------------------------------------------------------
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