5 Topics

Member Avatar for Gonbe

Hello Daniweb. [B]Scenario[/B] For a project we have to write a irc server. For this, we first wanted to investigate what kind of server architecture we should apply. (e.g. multithreading, multiplexing, multiprocessing etc.) We've written simple servers which implement different architectures. The servers basicially receive a message, and then send …

Member Avatar for nezachem
0
140
Member Avatar for Gonbe

Hello Daniweb, I've ran against an issue in my code and i'm not sure why I receive an error. I've managed to reproduce the error with the following code: [CODE="C"] #ifdef _WIN32 #define PERFORMANCE_METING #endif #ifdef PERFORMANCE_METING #include <windows.h> #endif #include <stdio.h> #include <stdlib.h> typedef enum { FALSE, TRUE } …

Member Avatar for Ancient Dragon
0
152
Member Avatar for Gonbe

Hello Daniweb community, Recently I bought a new harddrive. Below is a link to the manufacturer's website and the model: [url]http://www.seagate.com/ww/v/index.js...D&locale=en-US[/url] I connected the drive according to the instructions and then booted up my computer. The drive got detected in the BIOS so i booted up Windows. I then went …

Member Avatar for Gonbe
0
173
Member Avatar for Gonbe

Hello Daniweb, I'm trying to create a very simple shell for practicing purposes, but i'm a little bit puzzeled about the usage of execve, the function i use to execute a file. The code fragment underneath shows my usage: [CODE="C"] childPID = vfork(); if (childPID == 0) { execve(input.process, input.parameters, …

Member Avatar for gerard4143
0
273
Member Avatar for Gonbe

Hello. I'm writing a program in C that should ask for a line of input, and extract the process name and parameters. This doesn't have to be totally bulletproof at this point. An example input could be: "Hello these are parameters". On this example "Hello" would be the string i …

Member Avatar for Dave Sinkula
0
2K

The End.