Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Todd Simpson" <wasp47293@my-deja.com>
Subject: "Invalid argument" error from close() system call
Date: Mon, 23 Oct 2000 03:31:08 -0000	[thread overview]
Message-ID: <8t0bfp$erk$1@bob.news.rcn.net> (raw)

I'm using a Compaq AlphaStation DS10 with Tru64 Unix V5.0A.  I compile
some API routines provided by a company to communicate with a so-called
protocol server that it manufactures.  This server is a machine that's on
the net and the software on the DS10 uses a TCP protocol socket to
communicate with it.  The compilation gives no errors and when I run the
software, it works just as I expect - until I use the API routine to close
the
connection to the server.  The routine calls the Unix system close()
function
with the socket file descriptor as its argument.  The function returns an
error
condition of "Invalid argument".  This happens right after a write() to the
socket
completes successfully. The man page does not mention "Invalid argument"
(EINVAL) as an error condition from close().  Any clues as to what is going
on or what to do about it?

Thanks in advance,
Todd

Todd Simpson
todo@erols.com




             reply	other threads:[~2000-10-23  3:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-23  3:31 Todd Simpson [this message]
2000-10-23  4:00 ` "Invalid argument" error from close() system call Todd Simpson
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