From: Mo <mo...@mo...> - 2002-03-04 23:09:47
|
> 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. > 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. thanks, mo |