in reply to UDP socket questions
You're overthinking the first part, the local port is stored in $sock_r->sockport, it doesn't require any manipulation or unpacking to get it.
For the second part, the socket doesn't care what the data is, the default is not ascii, it's just bytes, if you send binary bytes, they will work just fine.
| We're not surrounded, we're in a target-rich environment! |
|---|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: UDP socket questions
by sbrandt (Initiate) on Mar 13, 2003 at 18:11 UTC | |
by traveler (Parson) on Mar 13, 2003 at 18:49 UTC | |
by pg (Canon) on Mar 13, 2003 at 20:24 UTC | |
by sbrandt (Initiate) on Mar 13, 2003 at 21:40 UTC |