LG> yes, but... with other large TCP/IP libraries you MUST use threads...
LG> with synapse you CAN use threads. This is mojor difference! One day
LG> will be finished thread support in FPC and all will be happy. ;-)

Why must I use threads?

Following works perfectly for me for many years:

ioctl(Sock,FIONBIO,@tmp); // nonblocking

All but one applications are single thread.

I'm using standard Socket/Bind/Listen/Accept/Connect socekt functions.


         vtech


_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to