Page 1 of 1
Lan chat
Posted: Sat Mar 19, 2016 10:19 am
by Silvio.Falconi
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 ... localgrouphttps://github.com/SpectraLogic/samba/t ... lib/netapi
Re: Lan chat
Posted: Sat Mar 19, 2016 11:43 am
by Silvio.Falconi
a sample chat c++
https://github.com/yangsu/simple-chathow converte to fwh ?
Re: Lan chat
Posted: Sun Apr 03, 2016 6:09 pm
by ariston.ap
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.zipImprovements 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.
Re: Lan chat
Posted: Mon Apr 04, 2016 9:45 am
by Silvio.Falconi
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 ?
Re: Lan chat
Posted: Mon Apr 04, 2016 4:21 pm
by ariston.ap
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.