Forum: C Apr 22nd, 2009 |
| Replies: 2 Views: 344 Ah, pipes = I'm lost :/
I should read the output of the "ls" or w/e with the popen(), put it in a string/char and then send it, but how? Can I send simple strings with "msgsnd"? Usually I'm sending... |
Forum: C Apr 18th, 2009 |
| Replies: 2 Views: 344 Hey, i'm writing a client-server, so far i've got this:
my structure
typedef struct mesg{
long type;
pid_t pid;
char data[64];
} MSG;
the client
int main(int argc, char *argv[]){ |