In my case, the member variable is socket. But this question can be general for any member variable which needs some operations before the object is deleted. I
hello everyone thanks for reading this , is it possible to send video stream from client side to nodejs server then save it to a file each time there is a new c
I just started using Postman. I had this error "Error: socket hang up" when I was executing a collection runner. I've read a few post regarding socket hang up a
I am trying to create a simple Io-web-chat. I recently wanted to seperate my <script> inside my html file to an external js file. this is my very simple
Till now I have a Server, Client1 and a Client2. The code works all fine and you can send messages between each Clients. The output looks something like this (b
As socks5 rfc says, A UDP association terminates when the TCP connection that the UDP ASSOCIATE request arrived on terminates. I wonder, doesn't "the TCP conn
Trying this code: import socket mcast_group = "239.255.0.1" mcast_port = 4444 sock_rx = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock_rx.setsockopt(sock
I need to send HTTP POST request using ESP32 module, to my REST API server which coded using python. But when running following code, an error comes. Running on
Earlier it was working with the same code but after a while it started throwing exception and the this error.. I don't fully understand how sockets work but I w
I use node.js with the NET class to connect multiple Rasperry Pi's. //Server const net = require('node:net'); const server = net.createServer(); //Client c
In the docs, there is a function to create a socket via a path, it's socket.connect(path[, connectListener]) link I tried this: var net = require('net'),
I am quite new to network programming and have been trying to wrap my head around this for quite sometime now. After going through numerous resources over the i
I need to develop Android application which sends voice from Android phone to many Android phones and hear it in the real time. All phones are on the same net,
I'm trying to scan files (generally 100MB+ zips) using clamav on apache 2.4, php 5.6, using a socket to the clamav-daemon. I'm not using PHP-FPM. (p.s. the sock
I have an inventory management app (windows) that uses sqlite3 database. The app is installed on the main PC we have in the office. I am going to have around 6
I have created a desktop software server system, which accepts string from client and insert into database, here is the server code public class TcpServer {
I looked at documentation about this but shouldn't a socket linger be declared before the close so the program doesn't immediately abort before it knows what ki
So i am experimenting with socket buffer sizes and have created 2 test cases Case 1[server sends data to client] First we have a server which sends 100 bytes of
How do I close tcp v4 and tcp v6 connections on Windows? I don't want to kill the entire process that has the open connection as this obviously will kick everyo
I am going to send a byte array through socket.But I used to work in c/c++ and be new to lua. Now i have a problem,here is my question. i want to send a bytear