Connect with Expertise | Find Experts, Get Answers, Share Insights

Where is the unix manual ?

Joe Green
 
Posts: n/a
#1: Jul 18 '05
When I do a:

import socket
print socket.socket().recv.__doc__

it tells me to look in the Unix manual. What is it on about, and is this
manual online?
I am generally struggeling with the documentation for socket, I want to do
RAW
sockets, but I can't find anything on it (I know IP, but not UNIX).



Jarek Zgoda
 
Posts: n/a
#2: Jul 18 '05

re: Where is the unix manual ?


Joe Green <someone@microsoft.com> pisze:
[color=blue]
> import socket
> print socket.socket().recv.__doc__
>
> it tells me to look in the Unix manual. What is it on about, and is this
> manual online?[/color]

Yes, just type "man 2 socket" or "man 2 recv" in your shell.

#v+
SOCKET(2) Linux Programmer's Manual SOCKET(2)

NAME
socket - create an endpoint for communication

SYNOPSIS
#include <sys/types.h>
#include <sys/socket.h>

int socket(int domain, int type, int protocol);

DESCRIPTION
Socket creates an endpoint for communication and returns a descriptor.
#v-

And so on...

--
Jarek Zgoda
Registered Linux User #-1
http://www.zgoda.biz/ JID:jarek@jabberpl.org http://zgoda.jogger.pl/
Rene Pijlman
 
Posts: n/a
#3: Jul 18 '05

re: Where is the unix manual ?


Joe Green:[color=blue]
>When I do a:
>
>import socket
>print socket.socket().recv.__doc__
>
>it tells me to look in the Unix manual. What is it on about, and is this
>manual online?[/color]

http://www.google.com/search?q=unix+manual+socket

--
René Pijlman
Joe Green
 
Posts: n/a
#4: Jul 18 '05

re: Where is the unix manual ?


I suppose it is obvious really, now that you have pointed it out --- thanks.

"Rene Pijlman" <reply.in.the.newsgroup@my.address.is.invalid> wrote in
message news:uoj5pv4ibc80kdt4k6hac1hhmn04pvkrko@4ax.com...[color=blue]
> Joe Green:[color=green]
> >When I do a:
> >
> >import socket
> >print socket.socket().recv.__doc__
> >
> >it tells me to look in the Unix manual. What is it on about, and is this
> >manual online?[/color]
>
> http://www.google.com/search?q=unix+manual+socket
>
> --
> René Pijlman[/color]


Gerrit Holl
 
Posts: n/a
#5: Jul 18 '05

re: Where is the unix manual ?


Jarek Zgoda wrote:[color=blue]
> #v+[/color]
(...)[color=blue]
> #v-[/color]

Just curious. What does "#v+" mean and where does it come from? I tried
googling but it is something very difficult to google for. I take it it
means "begin data", "end data", but where does it come from?

yours,
Gerrit.

--
129. If a man's wife be surprised (in flagrante delicto) with another
man, both shall be tied and thrown into the water, but the husband may
pardon his wife and the king his slaves.
-- 1780 BC, Hammurabi, Code of Law
--
Asperger Syndroom - een persoonlijke benadering:
http://people.nl.linux.org/~gerrit/
Kom in verzet tegen dit kabinet:
http://www.sp.nl/

Gerhard Häring
 
Posts: n/a
#6: Jul 18 '05

re: Where is the unix manual ?


Gerrit Holl wrote:[color=blue]
> Jarek Zgoda wrote:
>[color=green]
>>#v+[/color]
>
> (...)
>[color=green]
>>#v-[/color]
>
> Just curious. What does "#v+" mean and where does it come from? I tried
> googling but it is something very difficult to google for. I take it it
> means "begin data", "end data", but where does it come from?[/color]

Sections marked with #v+ ... #v- are displayed specially in certain
newsreaders such as slrn, to distinguish program code from the rest of
the message.

-- Gerhard


Closed Thread