Forum > LCL



Some form of non-complex socket handling with non-blocking, something similar to FPiettes Internet Component Suite would be perfect.  Is there something like this being worked on?

(I had a look, but couldn't find anything that looked like it did the same sort of thing, I figured this would apply to the other forum in this section too, but more this one, sorry if its the wrong place)

In the 1.0 series of the compiler there was no thread support and little or no socket support. So making componets didn't make sense at that stage. The support of both in the newer ccompiler versions look promising (I haven't test it yet)

I've been trying to do some stuff with NetDemo, but really need the events for when I receive text from the client.  Although I haven't exhausted every trick yet, I get the feeling it wouldn't be as efficient in the long run.  It is already non-blocking which is more important to me than thread support as you can quite easily make a server-type app that serves many clients and still be single threaded, as long as you have event handling for when a client connects and sends, then you have an index of clients to distinguish them.

The curious thing about NetDemo is that it only relies on rtl and Linux units, not using the sockets unit what-so-ever.  The problem I have is I just can't get my head around how to use it in my program quite yet

NetDemo can be seen at and it does look great and work, I just haven't been able to make it do cool stuff in Lazarus yet.

I hope a component does happen some point, it would be pretty cool.  If I had the time to spare and I was a little better at making components, I swear, I'd hve a damn good go at it, heh.

I could have sworn I logged in ... whoops.


[0] Message Index

Go to full version