Thanks! Can i request same example? 2010/4/30 Pritpal Bedi <bediprit...@hotmail.com>
> > > druzus wrote: > > > > Revision: 14415 > > > > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14415&view=rev > > Author: druzus > > Date: 2010-04-30 09:39:25 +0000 (Fri, 30 Apr 2010) > > > > Log Message: > > ----------- > > 2010-04-30 11:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > > * harbour/src/rtl/hbznet.c > > ! fixed stupid typo which caused that hb_znetFlush() in encrypted > > buffers never returned 0 (the returned value was increased by 4) > > > > * harbour/contrib/hbnetio/netio.h > > * harbour/contrib/hbnetio/netiocli.c > > * harbour/contrib/hbnetio/netiosrv.c > > * harbour/contrib/hbnetio/readme.txt > > + added support for communication streams/channels which allow to > > send asynchronously data from server to client. > > The following client side functions had been added: > > NETIO_OPENDATASTREAM( <cStreamFuncName> [, <params,...>] ) > > -> <nStreamID> > > NETIO_OPENITEMSTREAM( <cStreamFuncName> [, <params,...>] ) > > -> <nStreamID> > > NETIO_CLOSESTREAM( <nStreamID>, [<cServer>], [<nPort>] ) > > -> <lOK> > > NETIO_GETDATA( <nStreamID>, [<cServer>], [<nPort>] ) > > -> <aData> | <cData> | NIL > > The following server side functions had been added: > > NETIO_SRVSTATUS( <pConnectionSocket> [, <nStreamID>] ) > > -> <nStatus> > > NETIO_SRVSENDITEM( <pConnectionSocket>, <nStreamID>, <xData> ) > > -> <lSent> > > NETIO_SRVSENDDATA( <pConnectionSocket>, <nStreamID>, <cData> ) > > -> <lSent> > > + added RT errors to the netio client code. They should help to early > > detect any communication problems > > ! disabled hb_socketSetNoDelay() in client and server code. > > I enabled it for some local tests and by mistake committed to SVN > > and I didn't noticed it. It could cause serious problems in some > > cases > > i.e. with slow WiFi or WAN connections. > > > > Warning: server signature changed due to extensions in protocol. > > both client and server side has to be updated and use > > current SVN code. > > > > + harbour/contrib/hbnetio/tests/netiot03.prg > > + added demonstration/test code for alternative RDD IO API, RPC and > > asynchronous data streams in HBNETIO > > > > Something extraordinary. > Harbour community will ever remain indebted to your contributions. > > I have already started base work how effectively I can port > my applications to reside on server for their better part. > > -- Massimo Belgrano
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour