Unix Programming - so_socket ?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2005 > so_socket ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author so_socket ?
on-your-side@hanmail.net

2005-01-28, 5:54 pm

/*------------truss output----------------------------------------
so_socket(26, 2, 0, "", 1) = 5
setsockopt(5, 6, 33, 0xFFBEF36C, 4, 1) = 0
setsockopt(5, 6, 32, 0xFFBEF36C, 4, 1) = 0
bind(5, 0xFFBEF3D0, 32, 3) = 0
----------------------------------------------------------------*/

Can you explain definition/SYNOPSIS of so_socket ?
or where is the information of so_socket?

Is there any web sites (except docs.sun.com) that I can query
system function ?
Thanks in advance ...

Heiner Steven

2005-01-28, 5:54 pm

on-your-side@hanmail.net wrote:

> /*------------truss output----------------------------------------
> so_socket(26, 2, 0, "", 1) = 5
> setsockopt(5, 6, 33, 0xFFBEF36C, 4, 1) = 0
> setsockopt(5, 6, 32, 0xFFBEF36C, 4, 1) = 0
> bind(5, 0xFFBEF3D0, 32, 3) = 0
> ----------------------------------------------------------------*/
>
> Can you explain definition/SYNOPSIS of so_socket ?
> or where is the information of so_socket?


It's a Solaris-internal system call used to implement the
socket functionality. It's not documented, because it's, well,
internal, and may be change ;-)

> Is there any web sites (except docs.sun.com) that I can query
> system function?


System-specific: the manual pages in category (2).
Portable: POSIX

Heiner
--
___ _
/ __| |_ _____ _____ _ _ Heiner STEVEN <heiner.steven@nexgo.de>
\__ \ _/ -_) V / -_) ' \ Shell Script Programmers: visit
|___/\__\___|\_/\___|_||_| http://www.shelldorado.com/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com