--- In
hercules-390@..., "kerravon86" <kerravon86@...> wrote:
>
> I tried forcing an unusual amount of time in order
> to get a hard error.
New idea - I tried doing the same operation in a loop.
DLL_EXPORT int socketpair( int domain, int type, int protocol, int socket_vect
{
int i;
for (i = 0; i < 100; i++)
{
socketpair2(domain, type, protocol, socket_vector);
closesocket(socket_vector[0]);
closesocket(socket_vector[1]);
}
exit(0);
}
C:\mvs380\jcl>runmvs mvsendec.jcl temp.txt 2>temp2.txt
It seems it goes into batches of errors:
fred3
fred4
fred5
fred5.5
fred6
fred7
fred8
fred9
fred1
fred2
fred3
fred4
fred5
fred5.5
fred6
yaya2.5 No error
myflag 0
last 10049
yaya3 No error
fred1
fred2
fred3
fred4
fred5
fred5.5
fred6
yaya2.5 No error
myflag 0
last 10049
yaya3 No error
fred1
fred2
fred3
fred4
fred5
fred5.5
fred6
yaya2.5 No error
myflag 0
last 10049
yaya3 No error
fred1
fred2
fred3
fred4
fred5
fred5.5
fred6
yaya2.5 No error
myflag 0
last 10049
yaya3 No error
fred1
fred2
fred3
fred4
fred5
fred5.5
fred6
fred7
With 21 failures in total out of 100 runs.
Of course, this lends itself to a "solution" of sorts.
Just retry the operation 300 times before giving up.
Let me experiment some more.
BFN. Paul.