Is it possible to get multiple protocols such as UDP,TCP,http working simultaneously?

I am wondering how easy it would be if one wants to open several ports for different protocols UDP,TCP,http and how he could figure out the source and the type of received packets over network.

As an example if several packets of different types arrives to the XBeeWiFi module does the module label the received data with source address and the packets protocol type or port number.

my understanding is that the Xbee WiFi IP Protocol is either TCP or UDP but not both.