From: kr <russell@ais.alumdev.oberlin.edu>
Subject: Re: bind, socket, EADDRNOTAVAIL
Date: 1999/11/15 [thread overview]
Message-ID: <Pine.OSF.3.96.991115204235.13737A-100000@ais.alumdev.oberlin.edu> (raw)
In-Reply-To: Pine.OSF.3.96.991115194304.30871B-100000@ais.alumdev.oberlin.edu
PS. (And if this isn't a mark of desperation...)
I also tried alternating whether or not I used htonl...
The only reason you see it in the sample code is as the
result of a last, desperate attempt to jiggle parameters around
in vain hopes something would click. Of course, it did not.
So if you tell me that part of the sample is bad, yes, I know,
I've tried it without as well |<
Katherine Russell
Programmer/ Analyst, Oberlin College Development Resources
russell@ais.oberlin.edu
. ignore, override, become
On Mon, 15 Nov 1999, kr wrote:
> I've run into an obstacle of sorts trying to port a program to Tru64 /
> etc:
> ......
>
> if ((in_port=socket(AF_INET,SOCK_STREAM,0)) < 0) {
> perror("socket"); exit(EXIT_FAILURE);
> }
> ......
> numeric_addr.s_addr=htonl(inet_addr("127.0.0.1"));
next prev parent reply other threads:[~1999-11-15 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-15 5:00 bind, socket, EADDRNOTAVAIL kr
1999-11-15 5:00 ` kr [this message]
1999-11-18 5:00 ` Gerard Gobillard
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox