Open natheemy opened 2 years ago
Hello! So, basically you connected and sent messages to a host and then you want to switch to another PORT, am I right? If you want to connect to another PORT, it is required to open a new TCP connection because each connection is identified uniquely with a pair (IP,PORT). It's not possible to change PORT during the connection. So, if you need to change the PORT you should open a new TcpSocketConnection connecting to that specific IP and new PORT and then listen/answer to incoming messages.
Hi, I had already connected with another port with same host and need to write video file from the socket to device internal storage. Can you suggest the sample code to received video file? and in my case dataSockets.listen() is not being called when after sending commands.
Hi, We are connecting Device camera (IOT) to sending commands and received messages was working fine for one kind of port then we are trying to connect another port to receive my video file then socket.listen is not working. how to read my video file data via socket? kindly check my below code,