-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 19 February 2004 13:06, Tommi Hassinen wrote: > On Thu, 19 Feb 2004, E.L. Willighagen wrote: > > PS, it would also be nice if the plugin could also work on a local > > Ghemical copy... > > Yes, I think it should work both with local and remote servers. So far I > have planned to use sockets for the traffic. As far as I understand > sockets, they are like files; you can read form them and write into them, > and they carry the stuff over a network connection. A port number and an > IP address defines a socket; it could be like > > 500:remote.server.net > > where "500" is the port number and "remote.server.net" is the IP address > of the remote server. In this case there should be a server process > listening the port 500 in the remote system, which would receive the > requests from plugins and provide the service. But if you wish to run a > local service, you would just use > > 500:localhost
Right, if one can configure Ghemical to listen to a port like that... brilliant! > and it should work just fine. The plugin user interface would contain a > text box where user could set those above settings. > > I have to admit that I have not worked with sockets before, but it doesn't > sound too hard. :) All servers (httpd telnet etc) work using the same > priciple I think. Yes, it works just like that... In the past I played with sockets... it's really very nice they way it is done in Java... Egon - -- [EMAIL PROTECTED] PhD on Molecular Representation in Chemometrics Nijmegen University http://www.cac.sci.kun.nl/people/egonw/ GPG: 1024D/D6336BA6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (SunOS) iD8DBQFANKgfd9R8I9Yza6YRAvPNAKCAlJLaAhGo+9/DFOBOPrJbPYjvYQCgyJGP znQSkreWZSW8S0QSAc+cegE= =rbGE -----END PGP SIGNATURE----- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
