Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: tk, fileevent, and MS Windows

by sierpinski (Chaplain)
on Mar 21, 2011 at 13:46 UTC ( [id://894514]=note: print w/replies, xml ) Need Help??


in reply to tk, fileevent, and MS Windows

I don't currently have the ability to try to run this code, but the first thing that pops out when you're talking about Linux vs Windows is the newline characters. I see you are using \r\n, which should be correct for Windows, but that makes me wonder whether or not you made any changes for the Linux version to work? I don't know offhand what \r does in a unix environment.

What troubleshooting have you done in that arena? Do you have any debug information? Also, try removing the \n from the print $sock statement in your client. I've had issues where my socket would only send the first line (which was blank in my case) and then exit.

Just some thoughts... when I get to my workstation I'll try to run the code to see how it works.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-26 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found