HP3000-L Archives

January 1995, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mike Belshe <[log in to unmask]>
Reply To:
Mike Belshe <[log in to unmask]>
Date:
Wed, 4 Jan 1995 20:56:57 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Jeff Kell ([log in to unmask]) wrote:
: I was playing around trying to port the FreeBSD 'whois' client.  It
: compiles fine but croaks during execution.  I seem to recall earlier
: discussion (before I started paying attention :-) ) about there still
: being a distinct line between file descriptors and socket descriptors,
: and I think that's where the problem is.
 
: The client establishes a connection "s" with the server, then does uses
: two fdopen() calls to open an input and and output path to the socket.
: Consequently that happens to be where it's blowing up :-)
 
: Can someone shed a definitive answer if this is legitimate Posix or not?
 
I'm surprised the fdopen calls work- they aren't documented.
 
I would suggest removing the fdopen calls and then convert to write()
calls instead of fwrite() calls.
 
Mike
 
---
Mike Belshe
[log in to unmask]
HP CSY Networking Lab

ATOM RSS1 RSS2