linux-mips
[Top] [All Lists]

Re: ah...

To: shaver@neon.ingenia.ca (Mike Shaver)
Subject: Re: ah...
From: Ralf Baechle <ralf@mailhost.uni-koblenz.de>
Date: Fri, 30 May 1997 19:34:01 +0200 (MET DST)
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <199705301517.LAA13588@neon.ingenia.ca> from "Mike Shaver" at May 30, 97 11:17:00 am
Sender: owner-linux@cthulhu.engr.sgi.com
> I think something's a bit wonky here.
> 
>   if ((fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
>     perror("nothingserv: socket");
>     return -1;
>   }
> # ./bind-indy 2000
> nothingserv: socket: Socket type not supported
> #

Hurz...  Looks like you either you disabled TCI/IP networking or libc
and the kernel use different constants for the arguments of socket(2).

  Ralf

<Prev in Thread] Current Thread [Next in Thread>