On Mon, 31 Aug 2009, Pritpal Bedi wrote: Hi Pritpal,
> > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12382&view=rev > > Author: druzus > > Date: 2009-08-31 22:56:45 +0000 (Mon, 31 Aug 2009) > > > First, thanks for this wonderful development. Thank you to all of you for kind words. > I am compiling netiotst.prg as > hbmk2 netiotst.hbm -run > and I receive this console output: > NETIO_CONNECT(): .F. > and then: > Error DBFCDX/1004 Create error: > net:127.0.0.1:2941:data/_tst_.dbf > Quit Retry Default > > This error is obivious as TCP/IP connection is not established. > I think I am missing something but what ? > Is it something connected with firewall or what ? 1-st: please check if you do not have firewall installed which may blocks access to given ports. NETIO server uses port 2941 on and client code uses 'lo' interface (127.0.0.1) to access the server. 2-nd: please try to increase timeout after server starting and 1-st connection. Now we have: hb_idleSleep( 0.1 ) but it's possible that on some OS-es it have to be bigger value, i.e. use 1 or 2 seconds. I was testing it in my Linux box also with MinGW builds using WINE and 0.1 sec. was enough but maybe in real Windows the situation is different. Sorry but I was two lazy to eliminate this race condition from netiotst code. Anyhow if longer time resolves the problem for you then I'll update it. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
