A software application that services requests from clients using a data transfer protocol.
6
votes
3answers
68 views
WSGI static file handler
I put up a simple WSGI static file handler, but I'm skeptical about its efficiency, also because I got a handful of errors while benchmarking it with Apache Benchmark.
The errors are:
...
4
votes
2answers
45 views
Fetch details from server
I am using this code to fetch some details from server from my android app. How can I improve it?
Here I am also transferring some data from one activity to another.
This is how I have written my ...
-1
votes
1answer
60 views
Basic Console server in C# [closed]
I'm new To C# and I've started this project from a tutorial. This is a basic Console server that accepts multiple clients. I'm making this as a chat server of sorts, to better understand networking.
...
4
votes
1answer
133 views
How do I add JDBC and Queue functionality to a simple server?
I would like to add some capabilities to the server. Firstly, it should accept and handle connections with multiple clients, so that there are no mixups between clients. Secondly, there should be ...
5
votes
1answer
68 views
Scalability of C server implementation based on pthreads
I am wondering about the feasibility of the following basic implementation of a server and how well it would scale. I know that large-scale, distributed servers should probably be written in a ...
2
votes
1answer
40 views
Ensuring client IDs are unique
I'm writing a node.js application that involves handling clients based on their ID without any real way of confirming that the ID a client says it has is its actual ID. That is, it's possible for a ...
5
votes
1answer
1k views
Better way to fetch JSON data from a server from iOS app
I have successfully coded a network request to fetch JSON data from our server. The remote function is written in ColdFusion. However, the code is quite lengthy and involved. I also noticed in the API ...
1
vote
0answers
72 views
Using MVC design pattern to create server [closed]
I would like to to create a server application that listens to a remote client via TCPlistener and output the message to a form.
What I've done so far is :
1) in the ...
5
votes
1answer
264 views
Multi-threaded socket server high load
I'm trying to make a backend for QuizUp like application: user connects to a server, sends credentials and gets paired up with another user. After that server handles each pair, periodicaly sending ...
7
votes
1answer
535 views
Multi-threaded server socket
I'm somewhat new to network programming. I have a server that uses Ubuntu, which needs to send data quickly to about 50 clients.
As of now, I have about 50 concurrent connections (of course), and it ...
5
votes
1answer
363 views
LEGO® Universe Authentication Server
Please note that all credit for code goes to humanoid24 and I have only helped the bare minimum required to be able to post it here.
I am working with some friends to replicate a server for the game ...
1
vote
0answers
216 views
node.js Syslog server recording to ms-sql database
This 43 line program is designed to listen for Syslog messages on port 514 and record the messages to an MS SQL Server database table.
I would appreciate feedback from experienced node.js developers.
...
10
votes
4answers
719 views
Concurrent multi-server pinging in Java
I have an application that essentially "pings" all of the servers on my network. I have about 100 servers, and this ping will happen every 10 seconds.
...
4
votes
1answer
229 views
Turning a Java console app into a server
I'm not familiar with Java at all, so I'd like to get some feedback on this piece of code.
I made it by looking at a few Hello World-esque Java server examples, so it may have drawbacks I'm not ...
2
votes
1answer
82 views
Helping my coding style with a java text server
I consider myself a beginner at writing in Java. I have never had a programming class, nor had my code reviewed. I have come to Code Review for some pointers. (Tips that is, not data references.). I ...
6
votes
1answer
2k views
Client server application for file transfer
I have an application for transferring files from clients to a server. A client opens, transfers a file to the server and closes. The server is open and may receive multiple files. Also, when ...
1
vote
1answer
157 views
Is it feasible to create a syslog server which writes to a client dataset?
I'm creating a simple syslog server in Delphi XE2 using Indy's TIdSyslogServer. I've decided to make it dump into a ...
1
vote
1answer
63 views
Node.JS HTTP server displaying Google
I'm reading Professional Node.js: Building Javascript Based Scalable Software by Pedro Teixeira and created a web page responding with www.google.de. Could you take a look at my code and let me know ...
1
vote
1answer
142 views
C: File locking between server threads
I have written below code where the server is getting requests from clients on socket and creating a thread per client. Each client thread is then writing to a file which is common to all the threads. ...
5
votes
1answer
2k views
Performant C# Socket server
I am creating a performant C# socket server. I'd like it to be able to accept as many simultaneous connections as possible. I've tested with 100 clients and all clients are fine. With 1000 however, ...
2
votes
1answer
154 views
Implementing a Java server
My biggest problem is attempting to remove a client when the "disconnect" button is hit. It doesn't work properly, and I'm not sure if my approach is best: sending out a list of all the current users ...
5
votes
2answers
10k views
TCP async socket server client communication
I develop my first async TCP socket server and client program in c# and would like to review the first parts of it. I like to get some information’s about smelly code that I missed and what I could ...