General discussion

Locked

UNIX sockets for IPC

By Mark W. Kaelin Editor ·
UNIX or local sockets is another way to achieve interprocess communication. Have you used UNIX sockets for this purpose?

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

question

by sudhirm In reply to UNIX sockets for IPC

Hi,

I have 2 questions which always i'm confused.

1> what are filedescriptors , why and when they are used.

2> TCP parameter: what does CLOSE_WAIT mean? and how to avoid it?

Thanks & Regards

Collapse -

File descriptors

by Mike Owens In reply to question

A file descriptor is like a handle in windows programming. It represents a file and you use the file descriptor is used when you perform operations on that file. The file descriptor is an int data type. If the open fails the file descriptor will be set to -1 and you check errno for the exact error.

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums