Arun K Desai wrote:
>In Linux mainly how many types of is there????
from /usr/include/socket.h
on SunOS machine
i hope this will help you...really busy can't explain you.

/*
 * Types
 */
#if !defined(_XPG4_2) || defined(__EXTENSIONS__)
#define SOCK_STREAM NC_TPI_COTS /* stream socket */
#define SOCK_DGRAM NC_TPI_CLTS /* datagram socket */
#define SOCK_RAW NC_TPI_RAW /* raw-protocol interface */
#else
#define SOCK_STREAM 2  /* stream socket */
#define SOCK_DGRAM 1  /* datagram socket */
#define SOCK_RAW 4  /* raw-protocol interface */
#endif /* !defined(_XPG4_2) || defined(__EXTENSIONS__) */
#define SOCK_RDM 5  /* reliably-delivered message */
#define SOCK_SEQPACKET 6  /* sequenced packet stream */

-gaurav.
--
  _
|^|^|                         -^-                     Love to Linux
 \-/ G  A  U  R  A  V          |
mailto:[EMAIL PROTECTED] / mailto:[EMAIL PROTECTED]
  | Sea/She is nature's art/\/ Everybody likes to get the feel of it
|-=-----------------------/-----------------------------------------|
|_|f  I  can  I m a g i n/e  it  I  can  A c h i e v e  it_._.-.-._.|



--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.

Reply via email to