Search Results

Search: Posts Made By: _korg
Forum: Programming 07-27-2010
2,118
Posted By _korg
int main(void) { /* Our process ID...
int main(void)
{

/* Our process ID and Session ID */
pid_t pid, sid;

/* Fork off the parent process */
pid = fork();
if (pid < 0)
{
...
Forum: Programming 07-27-2010
2,118
Posted By _korg
Thanks jim! I am unable to figure out why is...
Thanks jim!

I am unable to figure out why is this failing with bad file descriptor.


while (1)
{
stat =0;
execReturn=0;
s2 =...
Forum: Programming 07-26-2010
2,118
Posted By _korg
Socket programming doubt
I am aware that TCP sockets are stream based and a single write may not send all the data. Is this the case with recv as well ?

I am in process of deciding a protocol to handle communication. I...
Forum: Programming 06-23-2010
12,357
Posted By _korg
Thanks corona... that was a fantastic reply. ...
Thanks corona... that was a fantastic reply.

Cheers!
Forum: Programming 06-20-2010
12,357
Posted By _korg
LOL ! School ended about 3 years ago. I have been...
LOL ! School ended about 3 years ago. I have been working with C++ for about 3 years; i am actually trying to gain knowledge of system programming by either R&D or by Q&A. I'll run through the beej's...
Forum: Programming 06-19-2010
12,357
Posted By _korg
IPC Mechanisms
Hi!

I wanted to know the advantages / disadvantages of different IPC mechanims such as sockets, pipes (unnamed) , shared memory & message queues.

Pipes for example i hear are fast , but are...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy