in reply to difference sockets in Tk and Tkx

I don't know neither Tk nor Tkx, but as a socket is a filehandle, you might be able to just give your socket handle to fileevent() in Tkx as well. What happened when you tried that?

Replies are listed 'Best First'.
Re^2: difference sockets in Tk and Tkx
by momo33 (Beadle) on Mar 19, 2011 at 10:34 UTC
    can not find channel named "IO::Socket::INET=GLOB(0x9184ed0)" at ./sps +how_simple.pl line 28. line 28: Tkx::fileevent( $server, readable => [\&new_connection, \$ser +ver] );
    Yes, I made the fileevent line Tkx-style.