Does Apple allow the use of Socket for IPC between iOS apps?

I have two apps (they are not from the same developer, not in the same app group), and I use a UNIX socket for the two apps to communicate with each other (one app binds to a local port and another app puts a connection forth)). This method is pretty good right now, but I want to know if Apple allows me to submit my app to the App Store. Many Thanks