Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* "Invalid argument" error from close() system call
@ 2000-10-23  3:31 Todd Simpson
  2000-10-23  4:00 ` Todd Simpson
  0 siblings, 1 reply; 2+ messages in thread
From: Todd Simpson @ 2000-10-23  3:31 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-23  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-23  3:31 "Invalid argument" error from close() system call Todd Simpson
2000-10-23  4:00 ` Todd Simpson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox