Subj : Proxy Service Issues To : Drakmir From : Digital Man Date : Thu Oct 06 2005 06:44 pm Re: Proxy Service Issues By: Drakmir to All on Thu Oct 06 2005 09:44 am > I am trying to write a simple socket proxy in Synchronet's Javascript langua > and having a very hard time of it. The code below is my latest attempt, but > I've tried many variations on that theme (including blocking sockets, using > send/receive buffers, etc). > > All of them either result in a crash in the services module or a lockup of a > networking (including non synchronet) on the computer. I'm running with > Synchronet 3.12 and on Win2k. I tried your script (using the ;EXEC sysop command to just loop back to localhost, port 23) and it was able to receive okay, but slowing, it wasn't able to send. There was no crashing or lockups anything. I'll have to play with it later. Have you seen exec/socktest.js? It does very much what you're trying to, but faster (transmits and receives in blocks) and works for both transmit and receive. I think it's a pretty simple example. digital man Snapple "Real Fact" #11: Flamingos are pink because they eat shrimp. .