HP3000-L Archives

January 1996, Week 4

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:
Steve Dirickson b894 WestWin <[log in to unmask]>
Reply To:
Steve Dirickson b894 WestWin <[log in to unmask]>
Date:
Wed, 24 Jan 1996 12:55:00 P
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
<<I keep getting a SOCKERR 3 Parameter bounds violation.  Which the
manual says check your parameters and make sure they are on a word
boundry.  They are on word boundries and I have not a clue as to where to
look for the problem.>>
...
ipcgive(ClientSock,GiveName,0,0,&HPStatus);>>
 
The 'flags' parameter must be passed by reference, not by value. This is
true even though there are no flags defined for this intrinsic. Modify
your code to do something like this:
 int flags = 0;
 ...
 ipcgive(ClientSock, GiveName, 0, &flags, &HPStatus);
 
Steve Dirickson         WestWin Consulting
(360) 598-6111  [log in to unmask]

ATOM RSS1 RSS2