A software application that services requests from clients using a data transfer protocol.
4
votes
1answer
33 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
30 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 ...
4
votes
1answer
323 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
56 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
157 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 ...
6
votes
1answer
411 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
302 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
163 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
429 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
178 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
79 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
1k 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
138 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
60 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
116 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
1k 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
144 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
8k 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 ...