socket tag

57 questions


2 answers
85 views
0
How to Send Messages by Client in Socket Communication with Multiple Clients

I'm learning how to create a program that can communicate with multiple clients using a socket in C language.After preparing the parent and child sockets using the Fork and pipe functions, we are tryi...

2 years ago

1 answers
104 views
0
Socket connection: Always want to connect, or reconnect when disconnected.

Thank you for your help.This is a question about the TCP socket.In order to ensure response speed, I would like to keep the socket connection connected all the time and reconnect if the connection is ...

2 years ago

1 answers
99 views
0
About Socket Communication Errors

Socket communication between laptop and desktop PC to create video transfer application. Due to the system, server is always on standby, client requests connection to server at set time, and sends dat...

2 years ago

1 answers
87 views
0
I want to close a specific socket

This is the person who creates the chat application in NodeJS (SocketIO).We use the following methods to send to specific users:io.to(socket.id).json.emit('message',message);How do I close a socket fo...


1 answers
121 views
0
Websocket Connection Disconnects Quickly in JavaScript

I would like to connect to the Websocket server via JavaScript, but the connection will be cut off as soon as I connect.If you look at the console, as soon as the page is loaded, you will see Open and...

2 years ago

1 answers
130 views
0
Hook the WebSocket function on the WebWorker side

Can I hook the Websocket constructor and onmessage on the WebWorker (Dedicated Worker)?If it is Main thread, you can hook it with JavaScript Proxy, but I would like to do this to Websocket on the WebW...


2 answers
96 views
0
Is it better to fork the process when handling sockets on Linux?

Looking at the open source, I think there were some that didn't fork.I would appreciate it if you could tell me the advantages and disadvantages of forking.

2 years ago

1 answers
68 views
0
node, javascript error using soket.io [overlapping]

(Two answers) 4 years agoThere is an error in client.js, but I don't know where to fix it.It seems to be an error with the symbol <, but I don't use it anywhere, so it's refreshing.If you are f...


1 answers
95 views
0
What is ev_async in libev for?

I couldn't understand the document very well.http://linux.die.net/man/3/evI would appreciate it if you could let me know if you know more about it.

2 years ago

1 answers
80 views
0
TypeError: 'module' object is not callable

File C:\Users\Administrator\Documents\Mibot\oops\blinkserv.py, line 82, in __init__ self.serv = socket(AF_INET,SOCK_STREAM)TypeError: 'module' object is not callableI don't know why this error is occu...

2 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.