[Lazarus] Lazarus, FreePascal and chat

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Lazarus, FreePascal and chat

Terry A. Haimann-2
Has anyone ever written a lite chat server and client in FreePascal?  I
would be looking for something that could handle 2-12 clients is all.

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Lazarus, FreePascal and chat

Alfred
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Lazarus, FreePascal and chat

Alfred
In reply to this post by Terry A. Haimann-2
In addition to previous messsage.
And to make life a bit easier.

https://drive.google.com/file/d/0B96fg3TpL5RDMXFNbkZuT0JHZ1U/view?usp=sharing

The archive holds a complete client and server for Lazarus with the
mORMot, based on Sample 31.
Just unpack it (replace files) in the Sample 31 directory and you should
be ready to go !

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus, FreePascal and chat

leledumbo
Administrator
In reply to this post by Terry A. Haimann-2
> Has anyone ever written a lite chat server and client in FreePascal?

Not really a full client-server chat app, but should serve as a strong base:

* Single GUI app that can work as both client and server:
http://svn.freepascal.org/svn/fpcprojects/lnet/trunk/examples/visual/tcpudp/

* Separated console client and server:
http://svn.freepascal.org/svn/fpcprojects/lnet/trunk/examples/console/ltcp/lclient.pp
http://svn.freepascal.org/svn/fpcprojects/lnet/trunk/examples/console/ltcp/lserver.pp

Those are lNet examples and meant to be used in desktop applications. For web applications, BrookFramework has intended demo:
https://github.com/silvioprog/brookframework/tree/master/demos/chat