Socket Questions

This is a discussion on Socket Questions within the C++ Programming forums, part of the General Programming Boards category; I try to understand what the the __clone() system call is use for and what is killing zombies?Can anyone so ...

  1. #1
    C++ elitesyntax's Avatar
    Join Date
    Mar 2004
    Posts
    12

    system call question

    I try to understand what the the __clone() system call is use for and what is killing zombies?Can anyone so me some example code.Useing C and C++
    Last edited by elitesyntax; 04-28-2004 at 07:50 AM. Reason: I should put this in linux programming.
    Compiler Gcc

  2. #2
    C++ elitesyntax's Avatar
    Join Date
    Mar 2004
    Posts
    12
    Anyone?
    Compiler Gcc

  3. #3
    C++ elitesyntax's Avatar
    Join Date
    Mar 2004
    Posts
    12
    I think i found what i was looking for.Sorry i should pot it in linux programming area.
    Compiler Gcc

  4. #4
    Obsessed with C chrismiceli's Avatar
    Join Date
    Jan 2003
    Posts
    501
    __clone() is used to create new processes in linux, any function that makes a new process (fork()) eventually calles the clone system call. And zombie processes are usually daemons, they are processes that have no parents, the parents died and they were left behind. Killing zombies is killing all processes with no parents, which isn't always good because daeomns are ran like that so the parent can die w/o kiling the daemon. Of course, if you want to kill a zombie, you have to shoot it in the head with a silver bullet.
    Help populate a c/c++ help irc channel
    server: irc://irc.efnet.net
    channel: #c

  5. #5
    C++ elitesyntax's Avatar
    Join Date
    Mar 2004
    Posts
    12
    Thanks that help even more.
    Compiler Gcc

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. socket programming question, closing sockets...
    By ursula in forum Networking/Device Communication
    Replies: 2
    Last Post: 05-31-2009, 05:17 PM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  3. Few Socket Questions
    By Ne0 in forum C Programming
    Replies: 5
    Last Post: 11-29-2004, 11:11 PM
  4. Simple Socket Questions
    By Kristian_ in forum Networking/Device Communication
    Replies: 3
    Last Post: 07-02-2004, 03:02 PM
  5. socket newbie, losing a few chars from server to client
    By registering in forum Linux Programming
    Replies: 2
    Last Post: 06-07-2003, 11:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21