From: Mattia B. <mb...@ds...> - 2002-03-06 20:12:18
|
> > BTW if you are using telnet you should probably use Net::Telnet, > > but that is not what is causing you problems > that wouldn't/didn't really work, a telnet based game (MUD) does not > really > have the same structure as let's say a linux-login. Well, I can say that I wrote a MUD client using Net::Telnet... > > Why not use select() ( the 3-argument version ) or non-blocking sockets? > > I used the 2nd solution a lot of time ago ( in a pure perl program ) > > and it worked fine. > i looked into the 4-argument version of select (didn't find a 3-arg one) > and > couldn't really figure out how i would connect to a server with that. what > socket > would you recommend? i need to receive, send and of course read out the > data > coming in from the server i connect to. it wouldn't be great if you could > send me > the program you wrote, in general i understand examples better than > manuals. Sorry, I don't have the sources anymore ( it was 4 years ago... ), and don't remember the details, but for this kind of question you will surely get better answers somewhere on comp.lang.perl.* ( or maybe in the FAQs ) Regards Mattia |