MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
So in an event-driven server, how do you ...
It looks like you guys hate polling. (Not that I blame you, I don't
really like it myself. :) But if you've got a system that just sits
until the next "ripening", how do you do your IO with players? Do you
use an endless loop to poll the connections? Or do you use the SIGIO
signal?
I tried to use both. I poll for new commands from the players, and use
the SIGIO signal to hook up a new connection. More than a little bit
dirty. It doesn't work under BSD, then I have to poll for everything.
Michael Hohensee
--
Eagleson's Law:
Any code of your own that you haven't looked at for six or more
months, might as well have been written by someone else. (Eagleson is
an optimist, the real number is more like three weeks.)
- Thread context:
- Re: Yet Another Introduction, (continued)
- Re: Yet Another Introduction,
clawrenc clawrenc#cup,hp.com, Sat 12 Apr 1997, 08:36 GMT
- Re: Yet Another Introduction,
Dmitri Kondratiev dima#ns,paragraph.com, Sat 12 Apr 1997, 21:55 GMT
- Re: Yet Another Introduction,
Adam Wiggins nightfall#user1,inficad.com, Sat 12 Apr 1997, 22:48 GMT
- Off on the languages tangent!,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Tue 08 Apr 1997, 13:07 GMT
- So in an event-driven server, how do you ...,
Michael Hohensee michael#sparta,mainstream.net, Tue 08 Apr 1997, 00:35 GMT
- <Possible follow-up(s)>
- Re: So in an event-driven server, how do you ...,
S001GMU S001GMU#nova,wright.edu, Tue 08 Apr 1997, 02:10 GMT
- Re: So in an event-driven server, how do you ...,
Nathan Yospe yospe#hawaii,edu, Tue 08 Apr 1997, 03:42 GMT
- Re: So in an event-driven server, how do you ...,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Tue 08 Apr 1997, 13:08 GMT
- Re: So in an event-driven server, how do you ...,
clawrenc clawrenc#xsvr1,cup.hp.com, Sat 12 Apr 1997, 04:31 GMT
[ Other Periods
| Other mailing lists
| Search
]