[asterisk-dev] SOCKET
Marc Haisenko
haisenko at comdasys.com
Wed Jul 12 03:56:04 MST 2006
On Monday 10 July 2006 10:22, Sameer Tamsekar wrote:
> ast_socket = socket(PF_LOCAL, SOCK_STREAM, 0);
> ...
> sipsock = socket(AF_INET, SOCK_DGRAM, 0);
man 2 socket
It says which types these sockets are quite clearly ;-)
The first is a local socket (UNIX socket for inter-process communication), the
second is a Internet socket for Datagrams, also known as UDP.
Russel already explained what these are for.
C'ya,
Marc
--
Marc Haisenko
Comdasys AG
Rüdesheimer Straße 7
D-80686 München
Tel: +49 (0)89 - 548 43 33 0
Fax: +49 (0)89 - 548 43 33 29
e-mail: haisenko at comdasys.com
http://www.comdasys.com
More information about the asterisk-dev
mailing list