Subj : Proxy Service Issues
To : Drakmir
From : Digital Man
Date : Thu Oct 06 2005 10:27 pm
Re: Proxy Service Issues
By: Drakmir to Digital Man on Fri Oct 07 2005 12:38 am
> Re: Proxy Service Issues
> By: Drakmir to Digital Man on Thu Oct 06 2005 11:25 pm
>
> > Re: Proxy Service Issues
> > By: Digital Man to Drakmir on Thu Oct 06 2005 07:44 pm
> >
> > I hadn't seen that one. I'll take a look at it and see if it works for m
> > application. :)
> >
> > That proxy is slow because I removed block read/write since I wasn't sure
> > was going wrong. It was the simpliest example I could get to fail and no
> > down the computer with it.
> >
> > Thanks again!
> So, I adapted socktest to read from client.socket instead of console, and fo
> some reason it won't read the input. I basically just changed the RAW mode
> inkey for the same if logic above (client.socket.data_waiting).
>
> Is there a socket option that has to be set or something?
Yes, you can't perform I/O on the client's socket descriptor while the BBS's
input thread is servicing the socking. You must set console.lock_input to true
before accessing the client's socket directly and set it to to false when
you're done.
digital man
Snapple "Real Fact" #12:
Emus and Kangaroos cannot walk backwards.
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net