Hello sir,
As i said earlier, I m working with ESP8266 Wifi module. I want to make ESP module as TCP Client and the PC as TCP Server.
I used necessary commands for initial settings and configured ESP module as TCP client. The command for that is AT + CIPSTART = "TCP", " IP Address", " Port no." If i am using this command, i ll give the port number as 8888 as constant. Once i run my java server program, it doesn't receive the data transmitted from ESP8266. Instead of that it shows some random number once.
Later i gone through some materials, in which it was mentioned that the port number of the PC will be varied dynamically. It won't be a constant value. But how come i know that the number of the port which was opened in PC for data reception? B'coz there wont be any communication between the server and client other than data.
I have tried all possible ways that i can. Kindly help me in this regard.
Thanks in Advance,
Revathi.T