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: [EMAIL PROTECTED]
http://www.comdasys.com
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to