in reply to Perl/TK and UDP connections

Since you hardly write anything about your program or your problem, except an "it doesn't work", not much can be said. However, you should realize that programs using Tk are event driven. You will have to turn data appearing on the socket into an event. IIRC, there's a FileHandle widget for Tk. You might be able to use sockets with that. Or you might be able to use Event.pm, or POE.

BTW, you really should use better titles. "Perl/Tk" is a *very* broad subject.

-- Abigail