[Harbour] Re: HBnetio test "SOLVED"

2010-04-18 Thread Bruno Luciani
I just correct the way that i call the name of database on create and this solve the problem . How is the correct way to create an index database and check if exist using netio ? Thanks and this is a great work Bruno 2010/4/18 Bruno Luciani > Przemyslaw > > I just add Hbnetio to my sample

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Viktor Szakáts
> No , the idea is to test a Linux HBNetio Server > > and a Linux Native aplication , sharing Databases with > > a windows aplicattion running Under Wine and Samba IMO only WINE and SAMBA can be the problem here, not native .dbf and hbnetiosrv parallel access by itself. Same problem set if yo

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Bruno Luciani
No , the idea is to test a Linux HBNetio Server and a Linux Native aplication , sharing Databases with a windows aplicattion running Under Wine and Samba Bruno Yes, it's WINE problem, not Harbour one. > > I was assuming a native executable in my answer (default case). > > Running any server u

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Viktor Szakáts
> Bruno Luciani escribió: >> Ok Thanks Viktor >> I like to take a try , to HBNETIO using a little aplicattion made in XHgtk >> but my network ( linux server ) is sharing databases using Samba and >> I need to this work Correctly >> Bruno > > Been there, done that. > On that scenario DON'T run ne

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Bruno Luciani
I think that it is an ideal scenario , but I need to try, once Netio works ok , I can not use anymore Samba The Idea it is not use windows or wine if it is posible , but while the solution is comming the both systems must be work together When I have some time I try to test it Thank' s to all

Re: [Harbour] Re: HBNETIO

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Angel Pais wrote: Hi, > >I like to take a try , to HBNETIO using a little aplicattion made in XHgtk > >but my network ( linux server ) is sharing databases using Samba and > >I need to this work Correctly > Been there, done that. > On that scenario DON'T run netio server fro

[Harbour] Re: HBNETIO

2010-01-13 Thread Angel Pais
Bruno Luciani escribió: Ok Thanks Viktor I like to take a try , to HBNETIO using a little aplicattion made in XHgtk but my network ( linux server ) is sharing databases using Samba and I need to this work Correctly Bruno Been there, done that. On that scenario DON'T run netio server fro

[Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Angel Pais
Przemysław Czerpak escribió: One small thing. Before MYRPC_FILTER() is called NETIO_SERVER() checks if given function exists. If not then it returns to client NETIO_ERR_NOT_EXISTS error code. It means that if you create function RPC_MYFUNC() and client request to execute MYFUNC() then MYRPC_FILT

Re: [Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Przemysław Czerpak
On Wed, 13 Jan 2010, Angel Pais wrote: Hi, > >STATIC FUNCTION MYRPC_FILTER( sFuncSym, ... ) > > STATIC s_hLegal := { "DATE"=>, "TIME"=> } > > IF sFuncSym:name $ s_hLegal > > RETURN sFuncSym:exec( ... ) > > ENDIF > > RETURN "<>" > Would this also work ? > STATIC FUNCTION MYRPC_FILTER

[Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Angel Pais
Mindaugas Kavaliauskas escribió: sFuncSym is symbol (but not a string), and I expect RTE on: 'rpc_' + sFuncSym I guess it should be changed to: sFuncSym := __DYNSN2SYM('rpc_' + sFuncSym:name ) Thank you Mindaugas ___ Harbour mailing list (attach

Re: [Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Mindaugas Kavaliauskas
Hi, Would this also work ? STATIC FUNCTION MYRPC_FILTER( sFuncSym, ... ) sFuncSym := 'rpc_'+sFuncSym IF IsFunction(sFuncSym) RETURN sFuncSym:exec( ... ) ENDIF RETURN "<>" So all you have to do to enable a function to be remotely callable is name it beginnign with 'rpc_'

[Harbour] Re: hbnetio / rpc filter

2010-01-13 Thread Angel Pais
Przemysław Czerpak escribió: STATIC FUNCTION MYRPC_FILTER( sFuncSym, ... ) STATIC s_hLegal := { "DATE"=>, "TIME"=> } IF sFuncSym:name $ s_hLegal RETURN sFuncSym:exec( ... ) ENDIF RETURN "<>" Would this also work ? STATIC FUNCTION MYRPC_FILTER( sFuncSym, ... ) sFuncSym :=

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-18 Thread Viktor Szakáts
tcp is already giving you a fair piece of resiliance against corruption. not to say more robust stuff is absolutely unimaginable, but you are not completely naked in the dark. Ok I painted a vague picture. I agree tcp is a proven technology but what will happen with the following scenarios wh

[Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread David Arturo Macias Corona
Pritpal: As explained by Przemek, it allows to connect to the server practically from anywhere your ip and port is visible. BTW at this moment your server is down or it has changed it IP. Now is running again in d:\creative.ram netiosrv_os2.exe 63000 192.168.2.64 d:\creative.ram New IP is

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread Jerry Finuliar
> tcp is already giving you a fair piece of resiliance against > corruption. not to say more robust stuff is absolutely unimaginable, > but you are not completely naked in the dark. Ok I painted a vague picture. I agree tcp is a proven technology but what will happen with the following scenarios w

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread Tamas TEVESZ
On Fri, 18 Sep 2009, Jerry Finuliar wrote: > > Such functionality will be available in final version of alternative > > IO APIs. It will be possible to redirect any operations but now only > > functionality used by core RDD code is supported. > > > Ok I'll wait for it. One more question Ar

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread Jerry Finuliar
> Such functionality will be available in final version of alternative > IO APIs. It will be possible to redirect any operations but now only > functionality used by core RDD code is supported. Ok I'll wait for it. One more question Are there plans to address data corruptions inherent in netwo

[Harbour] Re: HBNETIO HB_ReadIni() Support

2009-09-17 Thread Mario H. Sabado
Alex, Message: 9 Date: Thu, 17 Sep 2009 15:29:16 +0200 From: Alex Strickland Subject: Re: [Harbour] HBNETIO HB_ReadIni() Support To: "Harbour Project Main Developer List." Message-ID: <4ab239ac.6030...@mweb.co.za> Content-Type: text/plain; charset=UTF-8; format=flowed Przemyslaw Czerpa

[Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread David Arturo Macias Corona
Przemek: I have two network cards in my OS/2 machine 192.168.1.110 192.168.2.64 and default route 192.168.2.1 so I am using netiosrv_os2.exe 63000 192.168.2.64 d:\creative.ram What mean/happen with 0.0.0.0 if I use ? netiosrv_os2.exe 63000 0.0.0.0 d:\creative.ram David Macias _

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread Przemyslaw Czerpak
On Thu, 17 Sep 2009, Jerry Finuliar wrote: Hi, > Thank you for making NETIO possible. Will directory functions be supported? > (e.g. > mkdir and rmdir) > I need to scatter my tables for fast access. Such functionality will be available in final version of alternative IO APIs. It will be possi

[Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread David Arturo Macias Corona
Pritpal: Now I know what's the problem. It is path issue when creating and using. When creating it is like net:\checks.dbf while using it is net:checks.dbf. :-) Can you download current SVN and compile netserver.prg and run it as netserver.exe 63000 0.0.0.0 d:\creative.ram You are confusin

[Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread David Arturo Macias Corona
Pritpal: I did not run 2nd time in d:\creative.ram. Just now I run. Everything seems fine but I cannot reach to 3rd screen. If you check the folders now, it must contain .dbf and corressponding .z01 index files in d:\creative.ram | d:\creative.ram\caccomon . .dbf are created in root still Pe

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread Jerry Finuliar
Hi Przemek, Thank you for making NETIO possible. Will directory functions be supported? (e.g. mkdir and rmdir) I need to scatter my tables for fast access. Thanks -- ___ Surf the Web in a faster, safer and easier way: Download Opera 9 at http:

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-17 Thread Przemyslaw Czerpak
On Thu, 17 Sep 2009, David Arturo Macias Corona wrote: Hi, >> So the .dbf's are created in d: while indexs .z01's are created >> in the folder where these belong to. Now the question is why this >> behavior ? Przemek ? It should be no difference. HBNETIO knows nothing about file type or default

[Harbour] Re: HBNETIO - How I tested ...

2009-09-16 Thread David Arturo Macias Corona
Pritpal: So the .dbf's are created in d: while indexs .z01's are created in the folder where these belong to. Now the question is why this behavior ? Przemek ? NetIO suggests that "root" of any server will never be allowed to be accessed. Am I correct? Anyhow, it appears that the NetIO pro

[Harbour] Re: HBNETIO - How I tested ...

2009-09-16 Thread David Arturo Macias Corona
Pritpal: It is creating files in root of d:\ 15/09/09 5:27a 0 mydata 16/09/09 3:42a 0 creative.ram 16/09/09 3:44a99 0 a--- V661TDC2.dbf 16/09/09 3:45a 682 0 a--- OG_87YTT.dbf 16/09/09 3:47a 195 0 a---

[Harbour] Re: HBNETIO - How I tested ...

2009-09-16 Thread David Arturo Macias Corona
Pritpal: I run my application "Vouch" and it did show up the first screen. A step forward. Then it showed me some errors and that I know why so. Can you look into "data" folder where server is running and tell me if you see some .dbf's and .z01's. netserver_os2.exe is running in d:\mydata Not

[Harbour] Re: HBNETIO - How I tested ...

2009-09-15 Thread David Arturo Macias Corona
Pritpal: From your prefered environment, use: netapplctn 189.162.70.97 2941 First people in test will create files :-) I cannot connect. Is it stopped now ? I left it working around one hour and you tried later Now is working again with new IP. Use: netapplctn 189.162.166.143 294

[Harbour] Re: HBNETIO - How I tested ...

2009-09-15 Thread David Arturo Macias Corona
At last, a delayed test :-) Based in Pritpal Bedi guide, I made same tests with few changes: - OS/2 as server, using gcc433 - Tests in LAN and Internet netserver.prg and netapplctn.prg only contain change to use port 2941 netserver_os2.exe is running in \mydata client was tested with winXP+wa

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-02 Thread Przemyslaw Czerpak
On Wed, 02 Sep 2009, Angel Pais wrote: Hi, > When trying to compile this new lib on Ubuntu I get... [...] > make[3]: `../../../../../lib/linux/gcc/libhbgt.a' está actualizado. > make[3]: `../../../../../lib/linux/gcc/libhbmisc.a' está actualizado. > make[3]: `../../../../../lib/linux/gcc/libhbmzi

[Harbour] Re: HBNETIO - How I tested ...

2009-09-02 Thread Angel Pais
Thank your... I've done all that. On sunday harbour complide well. After recent changes It showed me the log I posted here. So should I guess that on your ubuntu instalation netio compiled and ran fine ? Regards Angel ___ Harbour mailing list Harbou

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-02 Thread elart
On 09/02/2009 07:49 PM, Angel Pais wrote: When trying to compile this new lib on Ubuntu I get... an...@angel-laptop:~/src/harbour$ make ! Building Harbour 2.0.0beta2 from source - http://www.harbour-project.org ! MAKE: make 3.81 /bin/sh ! HB_INSTALL_PREFIX: /usr/bin ! HB_BIN_INSTALL: /usr/bin !

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-02 Thread elart
On 09/02/2009 07:49 PM, Angel Pais wrote: When trying to compile this new lib on Ubuntu I get... an...@angel-laptop:~/src/harbour$ make ! Building Harbour 2.0.0beta2 from source - http://www.harbour-project.org ! MAKE: make 3.81 /bin/sh ! HB_INSTALL_PREFIX: /usr/bin ! HB_BIN_INSTALL: /usr/bin !

[Harbour] Re: HBNETIO - How I tested ...

2009-09-02 Thread Angel Pais
When trying to compile this new lib on Ubuntu I get... an...@angel-laptop:~/src/harbour$ make ! Building Harbour 2.0.0beta2 from source - http://www.harbour-project.org ! MAKE: make 3.81 /bin/sh ! HB_INSTALL_PREFIX: /usr/bin ! HB_BIN_INSTALL: /usr/bin ! HB_LIB_INSTALL: /usr/lib ! HB_INC_INSTALL: