Questions tagged [client]

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

Clients are generally classified as either "fat clients", "thin clients", or "hybrid clients".

Fat

A fat client, also known as a rich client or thick client, is a client that performs the bulk of any data processing operations itself, and does not necessarily rely on the server.

Thin

A thin client is a minimal sort of client. Thin clients use the resources of the host computer.

Hybrid

A hybrid client is a mixture of the above two client models. Similar to a fat client, it processes locally, but relies on the server for storage data. This approach offers features from both the fat client (multimedia support, high performance) and the thin client (high manageability, flexibility).

Disambiguation

The word client is used in several contexts within the Information Technology industry. This tag is for client as defined above. Other uses include:

  • In SSL and TLS, the client is the thing that initiates the connection. While these are normally equivalent to client and server in the traditional sense, the distinction is important for establishing secure peer-to-peer connections.
  • Client may refer to the line of business within the enterprise who is paying for an internal service.
  • Client may refer to a 3rd party paying for the services of the company, i.e. a customer.

These ambiguities are frequently the source of misunderstandings and confusion so it is advisable to qualify the term in cases where the intended meaning might be unclear.

8222 questions
425
votes
21 answers

How to get a user's client IP address in ASP.NET?

We have Request.UserHostAddress to get the IP address in ASP.NET, but this is usually the user's ISP's IP address, not exactly the user's machine IP address who for example clicked a link. How can I get the real IP Address? For example, in a Stack…
Mehdi
  • 5,435
  • 6
  • 37
  • 57
262
votes
17 answers

How do you create a REST client for Java?

With JSR 311 and its implementations we have a powerful standard for exposing Java objects via REST. However on the client side there seems to be something missing that is comparable to Apache Axis for SOAP - something that hides the web service and…
Yaba
  • 5,979
  • 8
  • 38
  • 44
203
votes
8 answers

Is there a way to only install the mysql client (Linux)?

Are there are any Linux mysql command line tools that don't require the entire mysql db installation package to be installed? What I'm trying to do is from server #1 (app server), execute mysql commands that will get executed on server #2 (db…
emilebaizel
  • 4,505
  • 5
  • 27
  • 20
191
votes
6 answers

Rails: Get Client IP address

In Rails, what's the best way to get the ip address of the client connecting to the server? Here are two ways I've found: request.remote_ip request.env['HTTP_X_REAL_IP']
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
93
votes
1 answer

Should a 502 HTTP status code be used if a proxy receives no response at all?

According to the RFC: 10.5.3 502 Bad Gateway The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. Can invalid response also mean no response at…
primroot
  • 1,686
  • 1
  • 15
  • 17
93
votes
9 answers

What Java FTP client library should I use?

Since I received no positives answers to my last question. I will try to write a Java FTP upload applet myself. My question is: "Can you recommend a Java FTP client library for me to use?" I want it to be: stable able to handle passive and active…
Tader
  • 25,802
  • 5
  • 26
  • 27
92
votes
14 answers

ERROR: Loading local data is disabled - this must be enabled on both the client and server sides

I don't understand the responses that others have provided to similar questions except for the most obvious ones, such as the one below: mysql> SET GLOBAL local_infile=1; Query OK, 0 rows affected (0.00 sec) mysql> SHOW GLOBAL VARIABLES LIKE…
sofrustrated
  • 1,051
  • 1
  • 6
  • 4
92
votes
8 answers

JAX-WS client : what's the correct path to access the local WSDL?

The problem is I need to build a web service client from a file I'm been provided. I've stored this file on the local file system and, while I keep the WSDL file in the correct file system folder, everything is fine. When I deploy it to a server or…
user260192
83
votes
1 answer

How to get the current status of a javascript websocket connection

Sometimes when I restart the server or there is a network failure the websocket gets closed and I would like to be able to get the current connection status at all time. I am basically getting the following error and I want to be able to predict it…
Johnride
  • 8,476
  • 5
  • 29
  • 39
77
votes
11 answers

How do I get the remote address of a client in servlet?

Is there any way that I could get the original IP address of the client coming to the server? I can use request.getRemoteAddr(), but I always seem to get the IP of the proxy or the web server. I would want to know the IP address that the client is…
grassbl8d
  • 2,089
  • 4
  • 24
  • 34
77
votes
10 answers

Graphical HTTP client for windows

I am looking for a Windows graphical utility for performing HTTP operations. For example, I want to be able to say things like: POST to http://example.org/test/service With a POST body: "Data goes here" Does anyone know a good piece of software for…
user169877
  • 803
  • 1
  • 7
  • 6
76
votes
8 answers

Where is the socket.io client library?

As far as I have seen, there is no explanation as to where we are to locate the client side script for socket.io if node.js is not used as the web server. I've found a whole directory of client side files, but I need them in a combined version (like…
Braun Shedd
  • 821
  • 1
  • 7
  • 9
74
votes
9 answers

JavaScript: indexOf vs. Match when Searching Strings?

Readability aside, are there any discernable differences (performance perhaps) between using str.indexOf("src") and str.match(/src/) I personally prefer match (and regexp) but colleagues seem to go the other way. We were wondering if it mattered…
immutabl
  • 6,857
  • 13
  • 45
  • 76
73
votes
3 answers

Multiple websocket connections

Is there any advantages of having two distinct websocket connections to the same server from the same client? To me this seems a bad design choice, but is there any reason why/where it should work out better?
Christian
  • 27,509
  • 17
  • 111
  • 155
72
votes
6 answers

Java sending and receiving file (byte[]) over sockets

I am trying to develop a very simple client / server where the client converts a file to bytes, sends it to the server, and then converts the bytes back in to a file. Currently the program just creates an empty file. I'm not a fantastic Java…
Rookie
  • 1,879
  • 3
  • 17
  • 18
1
2 3
99 100