|
Fellow Geeks: Indeed they are rather simple, although since mine is part of ThinView, its source code isn't available. What I can say is that the process of spawning off a proxy child server and handing off the socket to it, when a connection is established in the standby server, and proxying both sides of a half-duplex connection in a single-threaded language (through the use of "select") is far more involved than the actual proxying. And unless you've got some (presumably unsupported) way of calling the "UNIX-like" ILE APIs from MI, ILE C would be the language to write this thing in. Or you could write it in Java, and do an actual multi-threaded proxy (necessary if you need to proxy both sides of a full-duplex conversation, and a good idea even for half-duplex if you're expecting lots of small packets). As always, apologies for the funky formatting; my ISP's web-mail interface likes to throw in random carriage returns for no apparent reason. -- James H. H. Lampert Professional_Dilettante http://www.hb.quik.com/jamesl
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.