NETIO HMG 3.0.0

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

NETIO HMG 3.0.0

Post by Vanguarda »

Hello friends,

Today i begin some tests with NETIO. And many doubt i´ve now. :)

At first in the attachment you will find this. One little Server for tests with NETIO and one client.

Doubt
1-) The NETIO work only in local network?
2-) The path of Database cannot be change?

I thank´s your comments,

With best regards,

PS: Sorry my bad english
Attachments
Project.rar
(1.27 MiB) Downloaded 610 times
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: NETIO HMG 3.0.0

Post by esgici »

Hola Paulo

Thanks to share.

I'll look and will work to understand :(

If succeed, I hope that I'll send you my impressions ;)

Saludos

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: NETIO HMG 3.0.0

Post by Vanguarda »

esgici wrote:Hola Paulo

Thanks to share.

I'll look and will work to understand :(

If succeed, I hope that I'll send you my impressions ;)

Saludos

--

Esgici
Thanks Esgici,

I wait your impressions.

My best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: NETIO HMG 3.0.0

Post by esgici »

Hi Vanguarda

Sorry...

Connect, IP, server, client ...

I'm fully frank for all of that concepts :(

Besides, your program caused a Windows warning such as "Windows Security Wall violation" ( sorry, the message was in local language and I don't know its equivalent in exact English).

Sorry again. I'm sure that our friends, especially database server fanciers, will test your project.

Saludos cordiales.

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: NETIO HMG 3.0.0

Post by Vanguarda »

esgici wrote:Hi Vanguarda

Sorry...
Besides, your program caused a Windows warning such as "Windows Security Wall violation" ( sorry, the message was in local language and I don't know its equivalent in exact English).
Esgici
Hello friend,

Windows Firewall asking to unblock the application, because it works on the TCP/IP.

Please, so kindly, delete the file.exe and recompile, if want.

With my best regards,
Attachments
warning.JPG
warning.JPG (35.4 KiB) Viewed 6350 times
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: NETIO HMG 3.0.0

Post by Roberto Lopez »

Vanguarda wrote:Hello friends,

Today i begin some tests with NETIO. And many doubt i´ve now. :)

At first in the attachment you will find this. One little Server for tests with NETIO and one client.
WOW! FANTASTIC!


Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: NETIO HMG 3.0.0

Post by Roberto Lopez »

esgici wrote:Hi Vanguarda

Sorry...

Connect, IP, server, client ...

I'm fully frank for all of that concepts :(
It's pretty simple.

If you know what happens when you access a dbf file via a shared folder in a LAN, you can use NETIO.

Is basically the same concept, but you can access the file via TCP/IP.

You only need to know the address of the server machine and run the server app on it.

127.0.0.1 is the local name for your own machine.

The NETIO.CLIENT and NETIO.SERVER bundled with HMG are a little simpler, you could start from them.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: NETIO HMG 3.0.0

Post by Roberto Lopez »

Roberto Lopez wrote: The NETIO.CLIENT and NETIO.SERVER bundled with HMG are a little simpler, you could start from them.
ie: If I run the server app and give to you my current IP address, you could access the files served from my machine exactly the same you access dbf files on your own hard disk (I've tested only locally).

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: NETIO HMG 3.0.0

Post by esgici »

Thanks Maestro,

I've really need this encouragement :)


Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: NETIO HMG 3.0.0

Post by apais »

The concept is fairly simple so brilliant. Prezmek substituted all disk access ( fopen, fwrite, etc ) with tcp/ip calls.
On the other side of the tcp/ip connection there's a program listening and doing the actual file operations.
So now your hard disk can not only be on the other side of your ide/sata cable but on the other side of the world !
The only cost you pay is higher latency and more unstable wiring.
So be carefull when doing write operations. Reading operations are totally safe since they are simple done or not.
Antoher advantage is that you can recompile your server module in linux and use a linux box as server.
Combining netio with a RPC protocoll ( to make writing operations safe and transactional ) could lead our apps to a completelly new world. Actually we have .hrb files in Harbour, so it's only a matter of time before someone connect the dots.

Regards
Angel
Angel Pais
Web Apps consultant/architect/developer.
Post Reply