Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Telnet Client/Server: What am I doing wrong?

by PM_Visitor (Initiate)
on Dec 15, 2012 at 17:22 UTC ( #1008997=note: print w/ replies, xml ) Need Help??


in reply to Re: Telnet Client/Server: What am I doing wrong?
in thread Telnet Client/Server: What am I doing wrong?

Thank you, very much.

Not knowing any better, I started with the Tkx version of Tk. So, without rewriting your example, it's not going to run.
I guess I can install the Tk package (new to that also, don't know if installing Tk will break Tkx (and what I've scruffed together so far--2 weeks of learning :) )).

I would upload the working program, but it's now at about 1500 lines... so should I zip the program up and post it? It's probably not what an experienced Perl programmer would create.

I have started reading 'Network Programming with Perl, Lincoln Stein'. Perhaps that will enable me to resolve my obtuseness.

I'm not giving up! The first version was in HTML5, CSS3, and Javascript. The problem there was that WebSockets (and Flash) have a handshaking overhead before they will open a plain socket. Security reasons it looks like. (so poof, there went 4 days of work... should have nailed down the comm part first).

So anyway, thanks for the response.... will installing Tk break Tkx?


Comment on Re^2: Telnet Client/Server: What am I doing wrong?
Re^3: Telnet Client/Server: What am I doing wrong?
by eyepopslikeamosquito (Canon) on Dec 16, 2012 at 00:45 UTC

    I would upload the working program, but it's now at about 1500 lines... so should I zip the program up and post it?
    No. It is inconsiderate to expect unpaid volunteers to read and understand 1500 lines of your code.

    Instead, you should prepare and post here a short self-contained correct (compilable) example that demonstrates the problem you are trying to solve.

Re^3: Telnet Client/Server: What am I doing wrong?
by zentara (Archbishop) on Dec 16, 2012 at 07:13 UTC
    will installing Tk break Tkx?

    No, they are completely different modules, although Tkx does closely mimic Tk. You can install them side by side, no problem.


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      I guess I have resolved some of the problems I was having. Thanks for the help. I've spent some long hours staring at
      (sometimes called 'reading') the Lincoln Stein book... and trying examples. What it boiled down to was:
      1). Noob at the contols.
      2). The equipment at work functions differently than the sever I was able to cook up for dev. (compounded the confusion).
      3). When I use the methods in IO::Socket::INET, I can talk adequately talk to the equipment at work.
      4). My local scruffed-together-server is still broken, but I'm over it.
      5). The IO::Socket::INET in its basic mode is text and line oriented...which works for this program.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008997]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-07-12 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (241 votes), past polls