473,326 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Where is the unix manual ?

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).
Jul 18 '05 #1
5 2351
Joe Green <so*****@microsoft.com> pisze:
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?


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:ja***@jabberpl.org http://zgoda.jogger.pl/
Jul 18 '05 #2
Joe 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?


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

--
René Pijlman
Jul 18 '05 #3
I suppose it is obvious really, now that you have pointed it out --- thanks.

"Rene Pijlman" <re********************@my.address.is.invalid> wrote in
message news:uo********************************@4ax.com...
Joe 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?


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

--
René Pijlman

Jul 18 '05 #4
Jarek Zgoda wrote:
#v+ (...) #v-


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/

Jul 18 '05 #5
Gerrit Holl wrote:
Jarek Zgoda wrote:
#v+


(...)
#v-


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?


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
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Michael Appelmans | last post by:
I'm a php novice and am developing a shopping cart application for a client who is hosted on a unix server. The hosting service requires that each php file have #!/usr/local/bin/php at the top....
20
by: Sims | last post by:
Hi, I have a field in my DB that saves the date/time as a integer. I get the time on my server using the time() function. now, moving away from php and looking at (My)SQL only. If I use...
10
by: Dave | last post by:
Hi everyone, I wonder is there a way in php for it to find out if the system is a windows or unix based system. I read $_ENV is set on windows but not unix but it does not seem to work. Thanks...
4
by: rkoida | last post by:
Hello evryone I am a newbie to python. I have a makefile which i can compile in UNIX/LINUX, But i I am planning to write a python script which actually does what my MAKEFILE does. The make file...
4
by: eight02645999 | last post by:
hi i created a login page that authenticate the user and his/her password to the unix ssystem. what modules can i used to compare the unix password with what the user typed in the cgi form? the...
4
by: Tom Walker | last post by:
I cannot get the WHERE statement to work correctly unless I use a literal with the LIKE. I want to use a working storage data name so that I can vary the WHERE statement. Example that works: ...
48
by: Daniel Rudy | last post by:
Hello, On a x86 machine, what is the format of a pointer in C? I know for a fact that the x86 p-mode uses a /selector:offset/ notation where the selector is defined in either the GDT or LDT. ...
4
by: John Pote | last post by:
Hi all, I want to use python on a server to access incoming TCP port accesses. So I need to use the socket interface which is new to me. To quote the Py Library Reference "7.2 socket --...
65
by: Hongyu | last post by:
Dear all: I am trying to write to a file with full directory name and file name specified (./outdir/mytestout.txt where . is the current directory) in C programming language and under Unix, but...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.