socket tag

57 questions


1 answers
303 views
0
[Python] Asynchronous socket blocking occurs in Unix environments.

Blocking occurs in an asynchronous socket in a UNIX environment.(It works as intended on Windows but occurs on Mac, Linux) Problem creating socket-related libraryForced shutdown of a client connected ...

1 years ago

2 answers
432 views
0
Understanding Socket Communication Buffer Size

C++ implements UDP socket communication.I don't know how to set the receive buffer size.Do you have any tools to see how much buffers you sent?The code on the page I referenced when I made it is set t...

1 years ago

2 answers
403 views
0
Socket communication ignores (skips) if statements

We use socket communication to create simple games for multiple players.I would like to use strncmp to determine the string sent by the client so that the appropriate action can be taken.For example, ...

2 years ago

1 answers
460 views
0
If you use SocketHandler to send logs to ThreadingTCPServer, the program will not exit.(Related to Python logging)

Something like deadlock occurs and the program does not exit.This occurred in a program that provides server threading and bulk management of logs during parallel processing using multiprocessing base...


2 answers
410 views
0
Message Handler Does Not Fire When Receiving Data Through WebSocket

What do you want to doYou want JavaScript event handlers to fire when you receive a message with the chat feature that you are creating in the Rails application.Current CodeCurrently, I am using the '...


1 answers
164 views
0
The connection closes in about 30 seconds even though the websocket communicates every few seconds.

I am creating a web application using websocket.Currently, JavaScript initiates a connection with new WebSocket (wss://{hostname}) and communicates with the server several times after onOpen is called...


1 answers
136 views
0
I want to receive data by specifying the length of the data in socket communication using NSSstream.

I used a library called GCDAsyncSocket for socket communication.Debugging with IPv6 only Network lost connect Error Domain=NSPOSIXErrorDomain Code=51 Network is unreachable UserInfo={NSLocalizedDescri...

2 years ago

1 answers
86 views
0
I want to build a web server with websocket.

I was thinking about controlling Leapmotion using RaspberryPi3, but I learned that Leamotion cannot be connected directly to RaspberryPi3.I recently learned that the only way to connect Leapmotion to ...


1 answers
116 views
0
Can't Lambda in VPC access API Gateway?

I am currently researching API Gateway (websocket) + Lambda + RDS (via RDS Proxy) for my project, and when I set up VPC on Lambda to connect to the database via RDS Proxy, I no longer get messages fro...

2 years ago

1 answers
168 views
0
Web-scrabbing via Tor using PySocks

We use PySocks to communicate via the urllib2 module via Tor to provide anonymity.However, what should I do if I only want to run a function (using urllib2) through Tor?Is it possible to initialize ur...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.