상세 컨텐츠

본문 제목

UNIX domain socket

Linux기본

by nowpassion 2008. 4. 30. 15:12

본문

http://en.wikipedia.org/wiki/Unix_domain_socket

-위키에 나와있는 내용입니다.
A Unix domain socket (UDS) or IPC socket (inter-process communication socket) is a virtual socket, similar to an internet socket that is used in POSIX operating systems for inter-process communication. The correct standard POSIX term is POSIX Local IPC Sockets.

These connections appear as byte streams, much like network connections, but all data remains within the local computer. UNIX domain sockets use the file system as the address name space, i.e they use files to communicate.

In addition to sending data, processes can send file descriptors across a Unix domain socket connection using the sendmsg() and recvmsg() system calls.

내부적으로 통신을 하기위해 가상으로 만들어놓은 소켓의 일종으로 IPC에 사용됩니다.

'Linux기본' 카테고리의 다른 글

정적라이브러리 / 공유라이브러리  (0) 2008.04.29
VIM관련 plugin디렉토리  (0) 2008.04.29

관련글 더보기