Skip to main content

All Questions

Tagged with
0 votes
1 answer
29 views

Fail to connect a kotlin socket.io client to a node.js socket.io server

This is my server code const express = require('express'); const {createServer} = require('node:http') const {Server}= require('socket.io'); const {join} = require('node:path'); var PORT = process.env....
diego alvarez's user avatar
1 vote
0 answers
177 views

Get an exact error response from websockets (android)

I am trying to connect to server via websockets. I was able to reach it via postman, but getting server error each time trying to connect. I would like to see a response from server. How can I do it? ...
Xena Warrior Princess's user avatar
1 vote
1 answer
878 views

I got an issue with 2.1.0 socket version in android

How can make Socket.IO works on android client side I wrote this code in build.gradle implementation('io.socket:socket.io-client:2.1.0') { exclude group: 'org.json', module: 'json' } and here's ...
Ahmed Mohamed's user avatar
0 votes
2 answers
706 views

Not able to receive acknowledgement from server in socket.io in android kotlin

I successfully make connection between client server but problem is that one of my event chat:enter cannot be acknowledge from server in android and it is working fine in frontend , just problem in ...
Ahmad Bhatti's user avatar
0 votes
1 answer
446 views

Java Socket.IO-client SEVERE: Task threw exception

I try to connect to Web Socket server by using Socket.IO-client Java First i tried this config: fun createSocket(): Socket { val options = IO.Options() options.path = "/ws" ...
snailp4el's user avatar
  • 193
0 votes
0 answers
483 views

Android memory usage keeps increasing while using app

I have developed a compose app which retrieves crypto data (a list of 1063 objects) from Socket each 3 seconds. While using app I recognized that after some time working with app it crashes with Out ...
Reza Faraji's user avatar
0 votes
1 answer
637 views

How can i read text from socket Kotlin/Android?

I will say right away that I started to study Kotlin recently, and I just want to rewrite one program, and therefore I took up this I want to read the text received from the incoming stream, but as a ...
NIKITA76's user avatar
0 votes
0 answers
63 views

Socket, connect and disconnect

I'm currently working on a project that send files to server via socket. In project I create a SenderManager that contains a list of files for sending and it's updating any moment a file is available. ...
com_run's user avatar
  • 103
0 votes
0 answers
102 views

Sending Message to python socket server

I am making a Server Client System from which the client(android user) send message to the server(python socket). i have tried this at own level but it does not work..Code is shown Below. Any Help is ...
DikShU's user avatar
  • 96
0 votes
0 answers
156 views

Socket on android pie or api level 28 is not working. I'm not able to connect with Socket using host and post in android java

I tried with this code try { pingSocket = Socket(host, port) out = PrintWriter(pingSocket.getOutputStream(), true) br = BufferedReader(InputStreamReader(pingSocket.getInputStream())) } catch (...
Swaran Singh's user avatar
0 votes
0 answers
290 views

Sometime duplicate message receive and send suddenly in a socket

I'm having problems with a simple java socket client: the connection is established properly and both server and client receive and send data. But some time message receiving and sending 2 or 4 times. ...
Hiteshpatel0024's user avatar