All Questions
91 questions
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....
0
votes
0
answers
113
views
javafx.WebView not load page with socket.io
I have a 'nodeJs' server using 'expressJs' and 'socket.io'. The page opens fine unless I use 'socket.io. If you use 'socket.io', then it throws an 'Unknown error' error:
const app = require('express');...
-1
votes
2
answers
1k
views
Is socketio good to use in production website [closed]
I want to do some real-time operations in my backend. In the past, I used the pusher for real-time operations. But its cost is huge. So, I am thinking about using the socket IO itself. Before using it,...
0
votes
1
answer
231
views
I keep getting 404 error in socket.io connection
I am trying to connect my android app to NodeJS server.
ANDROID PART
First I include the Socket.io library to my dependency
implementation('io.socket:socket.io-client:2.0.0') {
exclude group: 'org....
0
votes
1
answer
192
views
Java socket io client fail to connect to socket io nodejs server
I am using v4 of socket-io nodejs server. I am using v2 of java socket-io client.
private val uri: URI = URI.create("MY_URL")
private val options: IO.Options = IO.Options.builder() // IO ...
0
votes
2
answers
2k
views
Socket.IO Spring server, Cant Connect with browser, only with Node.js
Hey I have the following Spring Boot Application, that have a SocketIoServer Endpoint on top of it, the server worked completly fine while testing in a client written in Node.js enviroment, but on a ...
1
vote
1
answer
534
views
Cannot connect to socket with Android App
I spent more 1 day to try to connect from Android App to SocketIO but can not. Although I can access to link local by browser in laptop and my physic device (used <uses-permission android:name=&...
1
vote
1
answer
137
views
Unable to communicate between Android client and Node.js socket.io server
I've looked at many tutorials on this yet none of them seem to work so no idea whether it's the server, client or potentially something on my network that's stopping it I don't know, so I come here ...
4
votes
0
answers
4k
views
Socket.io Server Url For Testing
in my Android app I have created a Socket.io client side(V2). My problem is that I couldnt any socket.io url which use v3 or higher.
For example these two url use socket.io under v3. ->
https://...
1
vote
0
answers
70
views
Java desktop client nodejs server using socketio, socket not connected
So i have a javafx application , who i use for CRUD of client, on mode "connected" i need to send data on the server, offline , i register the data in a JSONfile
When i use the controller ...
0
votes
0
answers
507
views
Android app can't connect to Socket.io server
I'm making a basic real-time chat app with Socket.io in Node.js.
I created a server and the app, but it seems the app is not connecting to the server.
Here is my code I tried:
server.js
const app = ...
0
votes
2
answers
1k
views
Why my app can't connect to socket.io server?
my friend, I want to connect my application to the socket.io node.js webserver and this is my mobile side code:
private Socket mSocket;
try {
IO.Options options = new IO.Options();
...
1
vote
2
answers
95
views
Android application does not connect to the server
I had a question, I built the server part and the client with a socket and did not receive any errors. When I type the local address in the browser, it shows the information in cmd, but when I run the ...
0
votes
1
answer
1k
views
Android - Socket.io not connecting
I use Java and Socket.IO for the connection to my server, but i'm trying to connect nodejs server from android client side but connection not success.. (onConnectError) I tried all solutions, but I ...
0
votes
0
answers
904
views
How to connect an android app to a node js server using socket.io?
I'm trying to connect my android app to a nodeJS server using Socket.io
this is the connection code from android:
final String URL = "http://192.168.0.103:3000";
try {
mSocket = IO.socket(URL);...