Subj : Proxy Service Issues
To : Digital Man
From : Drakmir
Date : Fri Oct 07 2005 09:46 am
Re: Proxy Service Issues
By: Digital Man to Drakmir on Thu Oct 06 2005 11: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 fo
> > > application. :)
> > >
> > > That proxy is slow because I removed block read/write since I wasn't s
> > > was going wrong. It was the simpliest example I could get to fail and
> > > down the computer with it.
> > >
> > > Thanks again!
>
> > So, I adapted socktest to read from client.socket instead of console, and
> > some reason it won't read the input. I basically just changed the RAW mo
> > 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 tr
> 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.
>
The problem with that is when you have a "service", the console object doesn't
exist.
Alan
---
� Synchronet � Holodeck One - bbs.holodeckone.com