[MUD-Dev] Sockets

Jo Dillon emily at thelonious.new.ox.ac.uk
Thu Apr 22 10:41:25 CEST 1999


Quzah [softhome] (quzah at softhome.net) spake thusly:
> What is the main difference between and benifit of using:
> 
> (1) asynchronous notification
>     <versus>
> (2) versus non-blocking
>     <versus>
> (3) using select

  Actually, there is a (4) - blocking i/o within threads. This is good
for very complex interactions with a client (since you don't need a state
machine or anything icky like that) but has portability and scalability
problems (worse than select()? I'd be interested to know, at least as
regards Linux...) It's also quite hard to write a reliable threaded
program since problems can be non-reproducible.

--

	Jo





_______________________________________________
MUD-Dev maillist  -  MUD-Dev at kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev




More information about the mud-dev-archive mailing list