Lan chat

Lan chat

Postby Silvio.Falconi » Sat Mar 19, 2016 10:19 am

How I can create a Lan chat using the net ( IP) ?
the chatter class not run ok and I tried also with server(client sample ( tsocket perhaps have problems)
are there function of NetApi.lib ( bcc7)

i found
https://github.com/SpectraLogic/samba/t ... localgroup


https://github.com/SpectraLogic/samba/t ... lib/netapi
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: Lan chat

Postby Silvio.Falconi » Sat Mar 19, 2016 11:43 am

a sample chat c++
https://github.com/yangsu/simple-chat
how converte to fwh ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: Lan chat

Postby ariston.ap » Sun Apr 03, 2016 6:09 pm

Dispite the long time, I hope it is not too late.

Plese download and test the program I am developing for LAN chat, called "batepapo" (chat, in Brazil).
If you (or anybody else) improve it, please post the changes.

http://www.arsoft-ap.com.br//fd456406745d816a45cae554c788e754/08dc2d813326fd8ac79eb734d96b56ff/batepapo.zip

Improvements I expect:

• Different colors and font styles on Chat (to look like Skype or Whatsapp);
• Socket communication, instead of saving in DBF as it is done at present.
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
FWH1206 / XHB121 / BCC582 / RESOURCE WORKSHOP / XDEVSTUDIO
Please visit: arsoft-ap.com
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
User avatar
ariston.ap
 
Posts: 11
Joined: Mon Jun 29, 2015 8:16 pm
Location: Macapá - AP - Brazil

Re: Lan chat

Postby Silvio.Falconi » Mon Apr 04, 2016 9:45 am

Thanks,
Can you explain how use it on lan ?

I think a Socket communication we can use tsocket class ( sockcli.prg and sockserv.prg)

But in these many years I use (x)fw(h) I not Know also how create a small chat

Are there some Gurus here ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7048
Joined: Thu Oct 18, 2012 7:17 pm

Re: Lan chat

Postby ariston.ap » Mon Apr 04, 2016 4:21 pm

How to test the program:

• Select a computer to use as server. Create a folder for the program data: I.E: C:\BATEPAPO\DATA;
• Shared the folder, allowing read and write, for all users;
• At first time you run the batepapo.exe in each computer, you have to select the data folder. Just selec the folder you shared.
• After selecting the folder, you have to provide a name for the user. The computer name will be sugested, but you can change it provided there is no similar name already defined.

After fallowing these steps, batepapo will run and detect the online users. Just click on a user to chat with.
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
FWH1206 / XHB121 / BCC582 / RESOURCE WORKSHOP / XDEVSTUDIO
Please visit: arsoft-ap.com
[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]
User avatar
ariston.ap
 
Posts: 11
Joined: Mon Jun 29, 2015 8:16 pm
Location: Macapá - AP - Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests