[fpc-pascal]Thread + Inet
boci
irixhu at externet.hu
Wed Jan 3 19:53:11 CET 2001
Halley,
I have a little problem. I want to write a multithreaded server.
So I create a server socket (So I try, but I not found some
documentation), after I wait the client connection (in an unlimited
cycle), and I create a new thread (next problem: How I create a new thread
without array (I don't want controlling), (Example in java, I create a
class from the Thread class and I create a dynamic thread (new
thread(parameter))), so I give the socket to the thread (I think I use the
constructor), and wait the nex connection (Don't need clear the socket
variables, before I waiting the next client?)
Thanx.
Cow from Hu
More information about the fpc-pascal
mailing list