Linux is a popular, open source operating system kernel. Linus Torvalds started development of the kernel in 1991.

learn more… | top users | synonyms

1
vote
2answers
309 views

Strategy for creating a websocket relay?

I own a Raspberry Pi and would like to use it as some sort of websocket relay, so that all people who visit a specific webpage would be able to communicate with each other. The key thing about this is ...
2
votes
1answer
64 views

Best practices for a daemon that forks and becomes user

I want to write a small daemon in python under Linux that accepts connections and authenticates the user (details for this don't matter) and then forks a child for the connection and becomes the user. ...
3
votes
0answers
68 views

Evaluating concurrent application design approaches on Linux

Working on relatively low-speed hardware, I need to grab a snapshot of a rapidly changing datastream and then post-process the snapshot data and save it to disk. I need help with designing the ...
1
vote
0answers
63 views

Is there a standard practice on making a modular Python script?

I wrote a Python script for PIA here: pia-auto-login.py However, I need to make it more modular so that it does the OpenVPN changes from this script. Then I want to create two more packages (at ...
1
vote
0answers
53 views

Auto Create VM and display IE

I have just acciquired an old Dell Poweredge SC1425 from an old friend, this server will act as a development box for web based applications. All has been going well, I have installed the following ...
0
votes
0answers
13 views

Using the readahead syscall in C in the linux environment

I am interested in using the readahead syscall in a c program. Currently I have opened a file for reading with a call to open(). Once I find a character, say the letter 'b', I want to test whether the ...
0
votes
0answers
48 views

A callback for when data is received?

So, my understanding is that the Kernel could receive TCP at any time, and that generally a C program asks the Kernel synchronously/asynchronously if it has data available. Would it be possible for a ...
0
votes
0answers
23 views

How to package a SDL2-based Linux app?

I've written a small toy application using SDL2. I want to distribute it the most user-friendly way, for Linux. I should make a deb package, but then I should also make packages for other distros, ...
0
votes
0answers
88 views

Best way to signal all child processes to terminate using C

I have been assigned the task of designing a simple web server using C in my UNIX & C class. The webserver listens and forks when a successful connection is made so that multiple clients may be ...