Open nbsathawara opened 2 years ago
same issue in my case i have a textfield to set socket server url when this url is wrong the socket dosent connet and goes to socket.on('connect_error', (data){}) and after i put the correct url it connects but soon it shows connection timeout and disconnects
Hi,
I am trying to send data to a hardware device which is connected via Wifi. I have device's ip address and port number and used following code to send. But it always shows 'Connection Error : timeout'.
I am using 'socket_io_client: ^2.0.0-beta.2'
I am sending data using following;
Any help will be appreciated. Thanks in advance.