Questions tagged [server]

A software application that services requests from clients using a data transfer protocol.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
132 views

Python gRPC shopping cart service

The .proto file is as below: ...
4
votes
0answers
179 views

Simple routing in Rust

After my last attempt, I started to learn Rust again. This time I wrote a simple HTTP router. I would appreciate it if you could help me to fix my mistakes. Here is the link of the repository main....
4
votes
0answers
130 views

Python UDP server to relay CSV or JSON data to cloud for analysis

What am I doing? UDP/TCP server in Python (2.7 / 3.7) How am I doing? Using threads Where am I going to execute it? In a virtual machine running linux in AWS or Google Cloud or Azure () ...
4
votes
0answers
2k views

UDP chat program with server, client and listener

This is a little chat program that I have been working on and I want general feedback such as feature suggestions, efficiency comments, etc... The server will setup a DGRAM socket and constantly ...
4
votes
0answers
227 views

WSL LAMP stack script

The following code is aimed to establish a WSL based LAMP environment. This is instead XAMPP or WAMPP based LAMP environment which doesn't allow Bash. The script includes a cat heredocument called "...
4
votes
0answers
77 views

Message Save and Search REST server

This is an assignment presented to me. I don't have much experience building servers in Python so any comments would help me improve. The point of the server is to save and retrieve messages in a ...
4
votes
0answers
1k views

Gracefully shutting down a HttpListener

I have worked out a code for graceful shutdown of a httplistener. However, I am not sure if its foolproof. Below I provide c# code and the powershell (v3.0) scripts I've used to run my tests... C# ...
3
votes
0answers
80 views

Live radio streamer

I've posted a repo on a live radio streamer much like shoutcast/icecast without admin panels / user panels or custom mounts. I was wondering if anyone could review it and tell me what I can do better ...
3
votes
0answers
36 views

Nisse Server: Part 5 Handler

Getting close to a release of generic server. Nisse Server: Part 1 Helper Functions Nisse Server: Part 2 Socket Layer Nisse Server: Part 3 Stream Layer Nisse Server: Part 4 Server As I mentioned ...
3
votes
0answers
188 views

Minimal Async Web Server in Rebol 2

I'm building a rudimentary web server in Rebol 2. I'm trying in particular to understand the flow and logic behind the asynchronous aspects of the TCP scheme. As far as I can understand it, you ...
3
votes
0answers
1k views

C++ UDP server for a game

I broke my server into two classes, a general server class and a client session class. I know the code isn't documented in the header, but I am more interested in the design of the server/session ...
3
votes
0answers
2k views

Netty connecting to multiple servers

I am using netty to connect to multiple servers, query for an item, and aggregate the results in my Client. The code below works, but I am unsure if it is the best way of achieving my goal. Also, I'm ...
2
votes
0answers
61 views

Apache reverse proxy security configuration

Could someone share some light and check if this is okay for apache httpd security/good standards? I'm using apache httpd to call my Node.js app that is running with Express and also configuring SSL. ...
2
votes
0answers
43 views

Simple Socket Server in C for Windows

I have taken the code from a tutorial of Microsoft webpage. Of course, the example is for illustration only but I wanted to organize it and make it clear in order to understand it a little more. Here ...
2
votes
0answers
124 views

Simple Go Linux daemon to send/receive gob-encoded data on a socket

I'm currently working on a linux daemon and would like some feedback. The program is a simple unix socket server that sends around gob encoded messages. I'm still getting the hang of concurrency in go ...
2
votes
0answers
61 views

Web server using syscalls in Go

I'm new to Go and wanted to implement a web server using system calls to get a better feel for how everything works. I'm looking for feedback on idiomatic go especially error handling and using ...
2
votes
0answers
151 views

A Node.js server that create a tunnel to the Internet

I'm creating a Node.js app that allows the user to create their own social network. This code doesn't do anything special yet except creating a basic server and making it available on the Internet via ...
2
votes
0answers
36 views

Nisse Server: Part 4 Server

Getting close to a release of generic server. Nisse Server: Part 1 Helper Functions Nisse Server: Part 2 Socket Layer Nisse Server: Part 3 Stream Layer Here is the server. The basic usage should be ...
2
votes
0answers
426 views

Custom TCP protocol concurrent chat server

So the task was to first create a custom TCP protocol (namely ebl0) with certain parameters in its header and a number of methods to use with it (e.g. Login, Create, Join etc.). I'm not listing it ...
2
votes
0answers
1k views

UDP server for a multiplayer game using socketserver

I am making a multiplayer platforming game, and currently there are server performance issues once I have about 7+ clients connected. I was told earlier last week that I should investigate ...
2
votes
0answers
158 views

Android app that listens for commands over a socket

I've just begun programming Java and I'm working on the following code that deals with socket-based communications. Basically it connects to a client on port 8888: Gist of code ...
1
vote
0answers
34 views

client handling of tcp server in go

I'm writing a service for a ORPG and I expect traffic of about 10kb of packets per second from multiple clients. I just want to know if my approach is correct? Are there areas I can improve? This is ...
1
vote
0answers
33 views

Back-end web framework with sockets

I recently became interested in back end web frameworks in python, but I didn't want to use django or flask. (I want to make something similar to django or flask) So I decided to make my own. This is ...
1
vote
0answers
28 views

Node.js HTTP server with request logging

Here is the code: ...
1
vote
0answers
48 views

Unity Multiplayer Authoritarian Client-Server

I have created a client-server system which handles multiplayer for a game I've been making with Unity. Problem is, it feels very clunky and complex and I want to know how the design could be ...
1
vote
0answers
91 views

Server Client in socket c

This is a lib I am doing to interact with sockets. :) Here is the main file: ...
1
vote
0answers
1k views

Winsock chat server and client application

I have made a C++ command line chat with server and clients as a hobby project. Here is the GitHub link. ...
1
vote
0answers
555 views

Socket server with consumer-producer design to handle concurrent connections

The usual way is to implement socket server to handle concurrent requests by creating new thread for each request. Instead of this approach i tried to create a server using ...
1
vote
0answers
78 views

Working with abstract classes and multiply servers with TX and RX interchange

I have different servers (TCP, Named Pipe, RS232, ...) in one program and I want that all the received data coming from one server are send to all the other servers (resp. clients of these servers) ...
1
vote
0answers
26 views

Parsing server request data for visualization in C3.js

The following is a snippet from a script I have that fetches a list of objects representing requests to a server and graphs them using C3.js. I've only included the relevant code that parses the list ...
1
vote
0answers
69 views

Arduino sketch running on Arduino Mega as a web server

I have Arduino Mega with Ethernet shield mounted on top running as a web server. It reads temperature, humidity, rain or not and pot soil moisture and then displays on web page. Can you please review ...
1
vote
0answers
3k views

TCP Server using Winsock IO Completion ports model

I implemented a tcp socket server using the Microsoft IO Completion Port Model, which is basically an asynchronous model where WSAXXX function return immediately and you use a worker thread to handle ...
1
vote
0answers
534 views

A small chat server/client

This is my first attempt at a chat server/client setup. It's very simple, and doesn't use any logging, excryption, or validating handshakes. When the server is started, it displays a list of all of ...
1
vote
1answer
72 views

HTML file with a submit form

I have an HTML file that contains a submit form, which asks the users the fill in their personal info: then it will post and store into the DB by method of PHP SQL: ...
0
votes
0answers
47 views

F# and UDP server/client

I have a simple UDP client/server code looke like: ...
0
votes
0answers
135 views

HttpListener Server for building reports in Excel

I have coded a web-based Excel file builder and sender, that serves the file over Http(example links in code). I would like to see improvements and any suggestions you might have. ...