astropirate 0 Newbie Poster

Greetings all
Is it possable to get the UDP packet header info from the function recv()? i specifically want the packet length data.
If not with recv() is there any other way of doing this? (besides raw sockets)