in reply to UDP Server

The error message is pretty self-explanatory. $server is undefined so you can't call ->recv on it. Nowhere in your sample is $server declared or created. Take a look at $socket1. :)

You are using strict and warnings, right? These kinds of developer errors aren't impossible with them on but they are a lot easier to avoid.

Replies are listed 'Best First'.
Re^2: UDP Server
by maxy (Novice) on Dec 01, 2008 at 23:37 UTC
    how stupid of me,thanx, i m in hurry so i didn't c it,