On Wed, 3 Dec 1997, Gary Barnett wrote:
> Probably be better to create a script that runs as a cron job or in
> a sleep loop to handle the message processing.
This would be a possibility. I think this still poses some security
problems, with players entering e-mail adresses, that might cause some
interesting side effects, like running unwanted programs etc.. I think
however, that this subject has been discussed some time ago on this list.
> I've done some work on a message passing interface using a seperate
> CON_ state. The "interface" user logs in and is automatically set to
> the CON_INTERFACE state and can receive/process commands.
[SNiP]
> Something like this would be very useful for dns lookups, user@host
> lookups and things like email gateways and remote olc programs.
[SNiP]
Well, there are two 'addons' for Circle, that actually do this sort of
thing already. That is make some non-blocking socket communication.
One of them is the ident patch on the ZirkleMUD ftp site, and the other
one is the dns lookup thingie, that I built over the ident patch :)
The ident patch is entirely built into the Circle code, and does use a
socket to communicate (if possible) with the mashine a player is
connecting from to obtain their login name (if possible :).
The dns thingie (one of two, but I only made one of them *G*), is
obviously based on the ident code, since I thought it was easier to use
that, than to make some socket code all from scratch. However, only part
of it is incorporated into the Circle code. There's also a little utility
(I think this is caled a stub (?)) that should be run on a mashine
(locally preferably), that the dns-code contacts using a socket, that does
the dns-lookup. In itself quite simple if you take a look at either
ident.c or dns.c that's compiled into the circle code.
Those two (ident.c and dns.c) would be a perfect frame for the Circle-side
communication interface with whatever UNIX/Network-socket based service.
Be it POP2/POP3/IMAP/SMTP/IDENT/etc. based service.
So, take a look at these patches/addons, and see if you can't use that as
a base instead *grin* (Ok fairly long message to make that point, I'm
sorry, but that just my style of writing e-mails).
Regards,
Rand
.d
--
Rasmus Ronlev DOEK'94 http://www.econ.cbs.dk/~raro94ab
IT-Advisor mailto:raro94ab@student.econ.cbs.dk
B.Sc. Computer Science and Business Administration
Stud. M.Sc. Computer Science and Business Administration
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST