Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_con Added Files: Tag: SPLIT Ecore_Con.h Makefile.am ecore_con.c ecore_con_private.h Log Message: ecore_con module is there... what does this do? con is short for.. CONNECT! :) ecore_con is a generic ipc/communications/socket/event/loop/buffering layer. it uses the ecore event loop and infrastructure to get data from a socket and send it, handle connections of clients etc. it handles buffering all data so if you send mroe data than your os socket buffers will allow your pgoram does NOT block waiting for the os to flush its buffers... nor does it fail. ecore just buffers it for you in ram and flushes it whenever the socket is ready for more data. (basically what xlib does internally). this means you can happily send MASSES of data and the time it takes is a memcpy(). the rest gets quietly flushed in the background. Recieving data is done on demand when it arrives. It makes it EASY for a program to advertise a socket serivce - setup is trivial. a program just sets up a server on a named service and ecore does the rest for you. this will make it brain-dead for ecore using programs to talk to eachother later on. this is structured to be able to add tcp/ip in with no api changes (which i will add later). this will let ecore apps talk over networks... in fact ecore will let you write arbitary client/server programs talking any protocol, new or existing, as long as its tcp :) you could write a webserver using it, or a ftp server or an ftp client... take your pick... NB: this is NOT complete. work is underway on it. it's just up and running now with some basics working. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs