Forum > Networking and Web Programming

Cross-Platform Socket Component?

<< < (2/2)

marcov:
I've done some stuff with Indy(10) on Mac in the past, and that worked fine.

Dibo:

--- Quote from: KillerCode on January 05, 2011, 06:17:02 am ---ok, thanks all, i think ill go with lNet, just one more question, is does lNet create a separate thread for each client like Indy does?
or ill have to create that manually?

thanks;

--- End quote ---
It doesn't use threads. It uses callback events (see demos). More on:
http://wiki.lazarus.freepascal.org/lNet
FAQ and basic usage:
http://lnet.wordpress.com/

Leledumbo:
It uses non-blocking sockets, so probably you don't need any thread at all.

KillerCode:
ok ty, ill give the console version a try

Leledumbo:
You should try the gui one, console blocks when asking for input so you probably won't notice anything if a message comes when the app is blocking for input.

Navigation

[0] Message Index

[*] Previous page

Go to full version