HP3000-L Archives

November 2001, 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:
James Ots <[log in to unmask]>
Reply To:
James Ots <[log in to unmask]>
Date:
Fri, 2 Nov 2001 09:15:53 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
When using the Sockets function 'recv', if I give it a length
parameter of 30001 it returns an error of EINVAL, although 30000 is
fine.

Is this number defined somewhere? It doesn't seem to be in the
documentation, and I haven't found any reference to it on the
internet. I'm trying to write portable code, so I don't want to use a
hard coded value of 30000 only to find some other system has a lower
limit.

Any ideas?

(By the way, I'm compiling using c89 in the posix shell).

--
Cheers
James Ots

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2