Using TCP Sockets in Android Project

Hello all,
I wonder if i can use TCP sockets in an Android application(which i could do this in Unity)?