How ESP8266 communicate(TCP/IP) with Android application?

I want to send the data(string) from android app(android wifi) by selecting IP address and port no. to ESP8266 and also set the username and password so that I need the source of TCP/IP server-client code
Please help me out..!

mc : ESP8266 interfacing through UART(TTL)
Android app: Android Connectivity - CodeProject

Thank you


this might help you in many ways, sending strings over TCP server from Android to ESP8266, check this out.