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
2
votes
2 answers

Java socket file transfer - Files don't transfer completely

I'm trying to send a file from client to the server, but only ~8kb of lager files(~100kb) transferred. And pngs for example are not completely viewable. I really don't know why it stops earlier. Sending small testfiles(~1 kb) works great. The server…
Marvin
  • 55
  • 11
2
votes
0 answers

Jersey2 Client reuse not working AsyncInvoker

I am trying to reuse a Jersey2(Jersey 2.16) Client for async invocation. However after 2 requests, I see that the threads going into a waiting state, waiting on a lock. Since client creation is an expensive operation, I am trying to reuse the client…
2
votes
1 answer

multiple clients cannot listen and write at the same time

I'm writing a very basic chat room in python. Clients connect and any message from a client is relayed to all clients. The problem I'm having is getting the client to listen and send messages at the same time. It seems to only do either one. I've…
bigl
  • 147
  • 1
  • 2
  • 7
2
votes
3 answers

Reading input from C socket client to Java socket server

I have 2 socket clients and 2 socket servers, one of each in C and Java and all running on my local machine as processes. They can all talk to each other successfully except the C socket and Java server. They connect successfully but when I type…
bbb
  • 1,479
  • 2
  • 15
  • 28
2
votes
2 answers

cross domain cooking handling when same app server serves both domains

I understand that there are a number of ways/hacks to implement cross domain cookies such as iframe, redirects etc. I believe those methods are necessary when different app servers are serving each domain. Now if both domains are served by the same…
bob dabelina
  • 507
  • 5
  • 20
2
votes
1 answer

How can a client try to reconnect to a server after a first failed try with WCF?

I'm using a client - server app. When a client starts, he gets a login-screen. When the server is not up yet, the call to the server will throw an exception which i catch (EndpointNotFoundException). I show a messagebox telling the user the server…
Terry
  • 5,132
  • 4
  • 33
  • 66
2
votes
3 answers

C: sockets: can't read the whole server response

I'm programming in C an IRC chat client. everything it's working well except I can't read the whole answer sent by the server. here's the code: char buffer[2048]; write_on_screen(current_page(), "LOG COMMAND", command); write(sockfd, command,…
jack_the_beast
  • 1,838
  • 4
  • 34
  • 67
2
votes
2 answers

C Socket Programming write/read dirty memory

I wrote two custom function for write and read on my C program that my university teacher suggested: ssize_t FullRead(int fd, void *buff, size_t count) { size_t nleft; ssize_t nread; nleft = count; while(nleft > 0) { nread =…
2
votes
1 answer

Correct way to write/read integers in C socket programming

I need to pass an integer from a TCP C server with the write() function and receive it in a client with the read() function. In my server, Let's say int check = 0 How can I send it with a write() function? I tried on my server: if (write(connfd,…
wiredmark
  • 1,098
  • 6
  • 26
  • 44
2
votes
1 answer

Having trouble with a simple Twisted chat server

When I try and run this (see code below) I get the "connection made" response from the server and the command prompt to write an input. However when I try and enter the input it just hangs and the server doesn't seem to receive the message. Anyone…
2
votes
1 answer

C# JSON Rest client compatible with Net Framework 2.0

I'm loking for a simple library to make REST client calls using JSON and compatible with .Net framework 2.0. Any thoughts? Thank you
dhalfageme
  • 1,444
  • 4
  • 21
  • 42
2
votes
4 answers

ASP.Net Client Events on DropDownList?

Is there a client event that I can use for when a DropDownList's data has been loaded/bound onto the control? I need to trigger event on their side when this happens. Basically, I am trying to lock out the controls while the data is being loaded as…
Damien
  • 13,927
  • 14
  • 55
  • 88
2
votes
1 answer

What is a good way to ensure that a message from a signalr Server point has been received by the client

I have a ASP.NET server app that uses SignalR. I have an HTML5 client. The server sends a small byte array (around 12k) JPEG to my client, which receives and displays the image in an IMG element. The frequency of the data sent to the client(s) is…
Andrew Simpson
  • 6,883
  • 11
  • 79
  • 179
2
votes
2 answers

Socket "Bad file desc." after one time successful write()/read()

Here is a Server implementation with select ()`, and a simple client. It is not the main app, but an example, which may not run. What matters is that infinite loop from server. The problem appears here: the client sends a (correct) message,…
Daniel
  • 39
  • 5
2
votes
1 answer

Multiple clients in C Socket Programming

I am creating a simple echo server that listens to a SOCK_STREAM and continues to accept infinite connections. In the function int listen(int sockfd, int backlog) . I have set backlog to 1 so does this not mean a maximum of 1 client can wait in the…
Aakash
  • 83
  • 1
  • 12
1 2 3
99
100