UDP - Are the IP Headers available in firmware?


I am working on a UDP Application using a photon with ver 0.6.0. I can receive a UDP packet fine, I can also find the IP of the host that sent it using remoteIP().

What I would like to find is the destination IP address. This is mainly to compare it to the local address to determine if it was sent as a broadcast or unicast packet. Is this available somewhere or is raw access to the IP headers available?

Many Thanks