NonStop Servers
1847069 Members
5464 Online
110261 Solutions
New Discussion

Guardian Nonstop error 28 on call to connect_nw

 
KG34543
Visitor

Guardian Nonstop error 28 on call to connect_nw

Hello, I open atcpip using socket_nw and then bind_nw before calling connect_nw. Connect_nw returned an error 28. Error 28: The number of outstanding nowait operations would exceed that specified;an attempt was made to open a disk file or $RECEIVE with the maximum
number of concurrent operations more than 1; an attempt to ADD more than the configured maximum number of subdevices for an I/O process; or sync depth exceeds number the opener can handle; or trying to run more than 254 processes from the same object file.

if ((socket_file_number = (short)socket_nw(AF_INET, SOCK_STREAM, 0, 0200, 0)) and I can see it opened in debug: File 4 \MEL08.$ZSAMA.#S000000.S026 0

the call to bind works and file 4 remains at zero. After I call  if (connect_nw(socket_file_number, (struct sockaddr *)&sin, (int)sizeof sin, tag)), File 4 \MEL08.$ZSAMA.#S000000.S026 28  gets error 28. If I don't call bind_nw it works. But in this case I need to set the source IP. Much like 

TELNET -s  10.15.127.129 somesite.com 25

Anyone have any ideas?