Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
1 answer
145 views

Writing a HTTP server in C

Code ...
Dang Quang Vinh's user avatar
1 vote
2 answers
1k views

Multi-Client Socket Communication with Thread Pool in C++

I've been working on implementing a multi-client socket communication system with a thread pool in C++. The system comprises three main components: logger.h, socket.h, and thread.h, which handle ...
user avatar
7 votes
1 answer
2k views

HTTPS proxy server in Rust using the CONNECT protocol

I'm a Rust newbie. As a pet project, I decided to implement a simple multi-threaded HTTPS proxy server in Rust which uses the CONNECT protocol. I have tested the code below using my browser. ...
Gerard's user avatar
  • 173
5 votes
1 answer
122 views

Socket client-server app for exchanging sine-wave points

I wanted to try C# network programming and wrote this simple client/server application. The idea is - many clients can connect to server and request some data. As an example they request a set of ...
Leinad's user avatar
  • 51
6 votes
2 answers
2k views

UDP Reverse Shell

I'm currently learning python / network programming altogether and I coded this simple python reverse shell; I would like to hear any remarks from you regarding code structure, any common beginner ...
R2K's user avatar
  • 63
10 votes
1 answer
246 views

Point to point file transfer through HTTP socket

Why did I write this code This has a fun cartoon describing the problem of file transfer nowadays. And it's utterly true. There are already some webRTC based P2P file transfer services online. But I ...
Yuan Fu's user avatar
  • 207
2 votes
0 answers
192 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 ...
Bernardo Meurer's user avatar
13 votes
3 answers
5k views

Replacing Skype, reinventing the chat client

I'm creating a chat client and chat server after a several month programming hiatus. The goal is to make one with features I want but it's also a learning project. Although it's mostly because I'm ...
OkeWoke's user avatar
  • 133
5 votes
3 answers
464 views

Python HTTP Server

This is one of my first times writing Python. I'm most curious about style and whether while 1: x,y = socket.accept() is an acceptable way to wait for new ...
sudo rm -rf slash's user avatar
3 votes
1 answer
3k views

TCP server with user accounts, connection threading, and groups/permissions

This is a TCP server I am currently working on. It is accessed through telnet (I know it isn't secure, its just a project for uni). The server is programmed in Python 3. I am currently trying to ...
coder guy's user avatar
  • 211
3 votes
2 answers
2k views

Mutual friends finder written in Python

I've written a server/client tool which can "check the Six degrees of separation theory" in Russian social network VK.com. Client sends task (which contains two VK IDs) and Server tries to find all ...
michaeluskov's user avatar
3 votes
1 answer
268 views

Getting the current chat room ID

I need roomId (an auto_increment primary key) to locate a specific room to update chat info. My way of doing it right now is ...
shangsunset's user avatar