HP3000-L Archives

December 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:
Duane Percox <[log in to unmask]>
Reply To:
Duane Percox <[log in to unmask]>
Date:
Fri, 27 Dec 1996 08:31:24 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
Neil writes:

>Greetings all
>
>I trust everyone had a splendid Christmas, and is looking forward to a
>prosperous and happy New Year :)
>
>I'm writing sockets programs in COBOL.
>
>It seems that if I try to send more that 30,000 bytes of info in a
>message, I get a send error.
>
>
>*      MOVE 30001      TO WS6-MESS-SIZE
>       MOVE 30000      TO WS6-MESS-SIZE
>    CALL "IXSEND" USING WS6-SD-2
>                        WS3-MESSAGE
>                        WS6-MESS-SIZE
>                        WS6-CALL-STAT.
>    IF WS6-CALL-STAT < 0 THEN
>        DISPLAY "IXSEND ERROR: " WS7-ERRNO
>        PERFORM Z0-ERROR-QUIT.
>
>
>This displays IXSEND ERROR: +00000000 with 30001
>and works with 30000 and less.
>
>Is there a 30,000 limitation of the size of messages sent thru sockets?
>
>WS3-MESSAGE is huge (pic x(65535)), and ws6-mess-size is pic s9(9)
>binary value 0.
>
>All help greatly appreciated.

NetIPC has a limitation of 30k bytes per message. I'm not sure what
'IXSEND' is, but if it ends up using NetIPC base routines then you
are limited by the 30k size per call.

Duane Percox ([log in to unmask]  v/415.306.1608 f/415.365.2706)
http://www.qss.com/          http://www.qss.com/qwebs
http://www.qss.com/faq3k     http://www.qss.com/qsdk

ATOM RSS1 RSS2