Questions tagged [client]

A client is an application or system that accesses a service made available by a server.

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

Async calls in blazor app hang forever and never error

I am trying to call an async method in a cs class and the page just freezes. When debugging this, everything seems to run fine till the await thing.wait.WaitAsync(); line. After that line no other ...
0
votes
0answers
9 views

Connect two esp32 via bluetooth to send sensor data

My project requires to connect two esp32's to exchange data via bluetooth. I've worked on the server part of the code as mentioned below: #include "BluetoothSerial.h" #include <QMC5883LCompass.h&...
-1
votes
1answer
16 views

Access file from subfolder of s3 bucket

I need to access a file and print its content from a subfolder in an s3 bucket. My file (file_abc) is in a sub folder (subfolder_abc) in a folder (folder_abc) in s3 bucket. I am using the following ...
0
votes
0answers
17 views

Generating automatic NodeIDs in our own namespace

For creating a new node from client (any type , does not matter), I used the below function. UA_NodeId new_node_id; .....some code... UA_Client_addVariableNode(m_client, ...
0
votes
0answers
14 views

How to Send from Server command propts and take output from client

server.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h>...
-1
votes
0answers
54 views

TCP C#, unable to read & write simultaneously between “client” - “server”

I am able to connect client-server, read and write in both directions, but I am not able to read and write simultaneously in both directions. One direction at a time works perfectly. As the two code ...
0
votes
0answers
8 views

HTTP2 response headers not receiving node js

I have a client and server code of http2 nodejs, i am sending 204 response back from server and not getting that in the client. In the event 'response' in the client , I am sometime receiving headers ...
0
votes
1answer
18 views

Access and Write data securely between server and client on a public-use application

I'm working on coding an application in Python 3 for users to send and retrieve data between others with this application. The process would be a client inputting an encoded string, and using a server ...
-1
votes
0answers
17 views

The server doesn't write or create the file that the client is sending

The server say that he received the file, but it is blank, what's wrong with the writing? For sure i have made a lots of error, thank you to all who would help me. (I'm new to the platform so tell me ...
0
votes
0answers
16 views

Detect client disconnection without sending ANY data to the server

I'm trying to detect whether client disconnected from the server. ONLY the server is sending information to the client. Client is just a listener, it gets information. I can't make client a '...
0
votes
1answer
26 views

How to send a JPG file from server to client

I need to send a JPG file from a server to a client. How do I do it? Server Code: from PIL import ImageGrab import socket server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
-1
votes
0answers
25 views

IPv6 server (c program) is not available

I have an IPv6 server (for Windows) with the libraries #include <winsock2.h> #include <ws2tcpip.h> programmed. In the context of an internship we have to send a message to this server ...
0
votes
1answer
25 views

System.Net.Sockets.SocketException: 'An existing connection was forcibly closed by the remote host'

I create a TCP connection between a server and a client, but after few requests I have this error message : System.Net.Sockets.SocketException: 'An existing connection was forcibly closed by the ...
-1
votes
1answer
18 views

Why is my Rpc function called when I asked for my Cmd function?

Here is my problem, when I run this code as a client, private IEnumerator Start() { if (isServer) { Debug.Log("je suis le serveur"); RpcAllowTeleportation(...
0
votes
0answers
20 views

Connecting two Arduino Mkr WiFis

I want to connect Arduino WiFis via WiFi. As Server I'm using a UNO WiFi Rev2 and two Mkr 1010 as Clients (I know it doesn't matter which one is server and which is client). As server I'm using the ...
0
votes
0answers
11 views

Python Stomp when ACK will be actually sent to the server

I have implemented a Python stomp Client with ACK='client' as subscription option, but i did not send any ACK frames to server explicitly on on_message event like conn.ack(headers['ack']), assuming ...
0
votes
1answer
28 views

WCF client HTTPS request exception

I am in the process of building a WCF client for a SOAP HTTPS webservice in .Net Core 2.1. The service provider has supplied a .key and a .cert file which I have converted to a .p12 file using ...
0
votes
1answer
17 views

Handling CORS across server domains [closed]

I am trying to sort out a CORS issue that I thought I had working finefor years and then suddenly, last Monday, with no changes to the servers involved, the API started failing with a CORS error. The ...
0
votes
0answers
26 views

What is the difference between “MongoDB server” and “MongoDB driver”?

I can't understand what is the difference between MongoDB server and MongoDB driver? Also like to know what is the MongoClient in the following line of code? Is it a part of MongoDB server or driver? ...
0
votes
1answer
47 views

Getting no values or garbage values on the client-side (TCP Socket Programming in C)

I am a beginner at socket programming and I am trying to develop a simple program with the client sending a number to the server, the server computing the factorial of the same and sending it back to ...
0
votes
1answer
11 views

Why two aggregation(A-MSDU&A-MPDU) needed in 11n

Can someone please tell me why the need of two aggregations in the 11n. if there is no A-MPDU in 11n, what will be the impact? Note: in 11AC, only A-MPDU is there.
0
votes
0answers
11 views

Diffie-Hellman key exchange for angular?

I need to add key exchange in my Angular application. I saw that crypto library has functions to work with diffie-hellman, however i got this error: Cannot find module 'crypto'. Later i found this ...
0
votes
0answers
11 views

QThread: Destroyed while thread is still running - socket app

I'm creating sort of 'TeamViewer' where I am the server and I send messages to other clients so I can remotely lock their screens, keyboard etc. but the client isn't working. It connects to the server ...
0
votes
0answers
7 views

C# WPF Server and client Socket

I am trying to make a small server and multi client software. I am using server as console app and client as WPF client. I managed to send messages across but I am unable to stream connected users in ...
1
vote
2answers
33 views

DataInputStream read() always return -1

i have a client-server program in java where the client sends a request to the server and the server responds by sending a file. The connection with the server is made correctly and the first request ...
0
votes
1answer
44 views

ObjectDisposedException in asyncrhonous client-server socket error

I'm writing an asynchronous client/server socket following the MSDN code. It is supposed to work like this: the client sends 10 operations to the server and the server reads them, validates that it ...
0
votes
0answers
25 views

Client ID and Client Secret to access Yahoo APIs - How do I use the credentials?

I have never done this before and I'm just trying to make a functional weather app as practice. I have already gotten to the stage where I get my App I.D. and credentials. I have this: https://...
0
votes
0answers
11 views

stomp decode return wrong header

I am implementing a STOMP client, and I have a decode function that takes a string and decodes it to frame. This is my Decode: Message* EncoderDecoder::Decode(std::string msg) { vector <string&...
0
votes
0answers
5 views

Should I pursue implementing HTTPS for a user created server

My (non-browser) project involves instantiating an HTTP server that listens to <25 clients while its active. One of the user chooses to be the host server while the rest connect to the server. I am ...
0
votes
1answer
32 views

accept function loop in thread c++ socket

I have 2 questions: first - I try to connect one client to server each time. (the accept function is in thread) but the connection fail in accept - return always -1 (instead of zero). the second ...
0
votes
0answers
16 views

REST-Call with TSQL

I try to deliver data from SQL Server 2017 (v14.0.1000) to a REST API in the internet. The request is: DECLARE @Object AS INT; DECLARE @ResponseText AS NVARCHAR(max); DECLARE @Body AS NVARCHAR(max) =...
0
votes
0answers
47 views

How I get a client ID for instagram?

Instagram has changed the conditions to get the Client-ID code recently. I have tried to get my Client-ID by following the steps, but I failed. How can I embed my Instagram feed on my website (no ...
0
votes
0answers
8 views

Apache client certificate authenticates with wrong certificate when SSLVerifyDepth = 2

I have a self signed ROOT CA that has signed two Intermediate CAs (#1 and #2) which in turn has signed two client certificates (#1 and #2). If I only include the ROOT CA Certificate and ONE ...
0
votes
0answers
29 views

get content from a website even if part of the url is changed

I have extracted what i need form a specific website but the thing is the website keeps changing its location of content including divs. and also they have pop ups so when searching for that ...
0
votes
0answers
15 views

Can a Nodemcu work as both server and client at a time?

"Can a Nodemcu work as both server and client at a time?" Can i connect this nodemcu to wifi router as well as other node mcu at a time?
-1
votes
0answers
28 views

Unity Low level API: how to handle data loss when client disconnected-reconnected to server?

[EDIT] after discussing the issue in a forum of programmers I've been suggested to create a method 'Keep alive" that sent from client each x seconds to the server to ensure the client is connected. ...
0
votes
0answers
10 views

column sort change event include column name and cssClassFriendlyName

I have a wrapper for matTable that simplifies table definition to: tableColumns: TableColumn[] = [ { name: "initiator", maskName: "emailJobInitiator", icon: "mail", sort: true, inList: true }, ...
0
votes
0answers
42 views

How to retrieve a message based on its' index number?

My question is about retrieving the message type after saving the message index in PlayerPrefs in Unity. I'm using a message system in my client / server system, based on this tutorial set For ...
0
votes
2answers
20 views

is there any security issue that can be expected when the mqtt client doesn't provide public key certificate during TLS handshake?

I am building up a small iot-like system, where mqtt devices(clients) are sending and receiving security-related critical information or commands. I have got to know that TLS connection can be built ...
0
votes
0answers
20 views

How to send payload after stream.end() in nodejs

I have a client that is using duplex stream to send payload (as http2 POST request) to server. After stream.end() the server responds back. Now as I haven't closed the stream I want to use that ...
0
votes
0answers
7 views

Is http long polling used from the client side to download a movie or large files?

Tried to research on the real time scenarios where long polling is used but didnt find anything. I wasnt sure if long polling is used while downloading large files in order to maintain a constant ...
0
votes
0answers
19 views

Sending and Receiving Data with Sockets in android

I need to create server and client android apps, I used this code , they connected but can't send/receive data. please your advice.
0
votes
0answers
26 views

How do I get a new html page after clicking a button in client - server application?

I am currently developing a client-server application using Flask, JS and Ajax. I managed to make POST requests working. After clicking the button the data is successfully sent to server. I do it in ...
0
votes
0answers
39 views

select can't receive all connections when client establish more than 200 connections at the same time(before any of them send message)

I am writting a toy project which is a web server.I am testing its concurrency now I wrote two version of tesing scripts: the first one: reqs=["fuck /BAD/ HTTP/1.1\nHost: www.baidu.com\r\n\r\n","GET /...
0
votes
0answers
4 views

Is there any blog that help us to implement certificate based authentication using servlet in tomcat server?

I am facing trouble in implementing the client certificate authentication. I searched in different websites but i did not find any blogs that explain step by step procedure that implemented client ...
0
votes
0answers
18 views

F-stack Client not Connecting to F-stack Server

stack Geeks, I am New to F-stack. I am trying to make tcp connection via F-stack over dpdk(19.08). The example given in F-stack package creates server but when i am trying to connect that port from ...
-1
votes
1answer
42 views

is it possible to determine if an HTTP request to the server originated from Ajax, or clicking a link

From the server, is it possible to identify requests the originate from AJAX calls, or from a form that uses GET and differentiate them from the user simply clicking on a link? We have a client-...
0
votes
1answer
57 views

Multiplayer game - Send player positions

I'm creating a simple multiplayer game(server authoritative) and I need to be able to send to all players all players positions So whenever one of the player moves I do this private void ...
1
vote
1answer
52 views

Spring Boot Admin Client can not be build

I am trying to configure my Spring Boot app as Admin Client, but it can not be build after setting the following dependency: <dependency> <groupId>de.codecentric</groupId&...
0
votes
1answer
61 views

How connect two pc over two different wifi with java socket?

I have created a server in Java with socket and a client that connects to the server. This works between two pc on the same wifi, how can i make it work on two different wifi (two pc in two different ...