Re: Pete's RDC
- Posted by Irv Mullins <irv at ELLIJAY.COM> Jan 28, 2000
- 495 views
----- Original Message ----- From: Kat <gertie at ZEBRA.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Friday, January 28, 2000 2:36 PM Subject: Re: Pete's RDC > > Has anyone other than me been experimenting with Pete Eberlein's RDC.e > (Remote > > Dynamic Calls) routines?... > I have found that several users can connect to the same port. It's rather > common on irc, with most people connecting to port 6667 or such on the irc > server. My httpd will serve several files to several places at once on port > 80, as will commercial web servers. It does get a little more complicated, > each connection has a different id, and each variable associated with a > specific id has to have that id too,,, in Eu i'd guess that all vars would > then be sequences, and you'd use the id to pick the subseq for that id,, > like: connection_time[12] for id 12. Thanks, KAT. I had set up a user list on the server, and wrote client routines so they send a "packet" containing the user id, the remote routine_id, and the arguments. That seems to work fine as long as each client connects, calls the remote function, and immediately disconnects, freeing the socket for other clients. One thing: in order to update the clients' screens, each client has to send a request_for_update periodically - I'm using a 1 second timer to trigger the request. Is there a better way to handle this? Can the server "broadcast" to all clients? Thanks, Irv