Re: 5.0?

Brazen <odbrazen-/[email protected]> Thu, 13 Jul 2006 08:44:49 -0700 (PDT)
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
--===============0221784541==
Content-Type: multipart/alternative; boundary="0-145795938-1152805489=:67737"
Content-Transfer-Encoding: 7bit

--0-145795938-1152805489=:67737
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

will guaraldi <[email protected]> wrote:
 Hrm...  I launched on a telnetlib re-write, too, but abandoned it for so=
me=20
good reason I can't think of right now. I did a quick (very quick) search=
 for "telnetlib" in the mailing list=20
archives and bumped into this message:

    http://sourceforge.net/mailarchive/message.php?msg_id=3D7988702

Not sure if that was the latest development or not, but it might explain=20
why I ditched my telnetlib net.py replacement and why you ditched yours.=20
though what you're saying now sounds different.
 Originally I tried to use the standard telnetlib and hack around its def=
ficiencies, that didn't work (the post you linked above was my surrender =
on that idea).  The rtelnetlib.py in the sandbox was a from-scratch repla=
cement (the "r" in "rtelnetlib" is for replacement) that provided more ho=
oks for negotiation and data munging.  The basic read operation looks lik=
e
=20
 1) recv() from socket
 2) give children a chance to munge the raw data
 3) do telnet RFC stuff (negotation, etc)
 4) give children a chance to munge the resulting data
 5) return the data
=20
 self.buffer is public and holds all the raw data so in step 3 (nego) you=
 can munge and replace the not-yet-parsed data.
=20
 The NegoMCCP class in that file un-gzips the rawdata that has been rcvd =
but not used and then wraps/replaces the step 2 function so all future rc=
vd()'d data gets un-gziped.
=20
 I ran a client based on the sandbox code for months and had no problems =
(though I did make many small changes I didn't check them in since I was =
the only one using it).

 	=09
---------------------------------
How low will we go? Check out Yahoo! Messenger=92s low  PC-to-Phone call =
rates.
--0-145795938-1152805489=:67737
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<b><i>will guaraldi &lt;[email protected]&gt;</i></b> wrote:<br> <blockq=
uote class=3D"replbq" style=3D"border-left: 2px solid rgb(16, 16, 255); m=
argin-left: 5px; padding-left: 5px;">Hrm...  I launched on a telnetlib re=
-write, too, but abandoned it for some <br>good reason I can't think of r=
ight now.</blockquote> <blockquote class=3D"replbq" style=3D"border-left:=
 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">I did =
a quick (very quick) search for "telnetlib" in the mailing list <br>archi=
ves and bumped into this message:<br><br>    http://sourceforge.net/maila=
rchive/message.php?msg_id=3D7988702<br><br>Not sure if that was the lates=
t development or not, but it might explain <br>why I ditched my telnetlib=
 net.py replacement and why you ditched yours. <br>though what you're say=
ing now sounds different.<br></blockquote> Originally I tried to use the =
standard telnetlib and hack around its defficiencies, that didn't work (t=
he post you linked above was my surrender on that
 idea).&nbsp; The rtelnetlib.py in the sandbox was a from-scratch replace=
ment (the "r" in "rtelnetlib" is for replacement) that provided more hook=
s for negotiation and data munging.&nbsp; The basic read operation looks =
like<br> <br> 1) recv() from socket<br> 2) give children a chance to mung=
e the raw data<br> 3) do telnet RFC stuff (negotation, etc)<br> 4) give c=
hildren a chance to munge the resulting data<br> 5) return the data<br> <=
br> self.buffer is public and holds all the raw data so in step 3 (nego) =
you can munge and replace the not-yet-parsed data.<br> <br> The NegoMCCP =
class in that file un-gzips the rawdata that has been rcvd but not used a=
nd then wraps/replaces the step 2 function so all future rcvd()'d data ge=
ts un-gziped.<br> <br> I ran a client based on the sandbox code for month=
s and had no problems (though I did make many small changes I didn't chec=
k them in since I was the only one using it).<br><p>&#32;
		<hr size=3D1>How low will we go? Check out Yahoo! Messenger=92s low <a =
href=3D"http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.ya=
hoo.com/evt=3D39663/*http://voice.yahoo.com"> PC-to-Phone call rates.
--0-145795938-1152805489=:67737--


--===============0221784541==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

--===============0221784541==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Lyntin-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lyntin-devl

--===============0221784541==--