[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference lassie::ucx

Title:DEC TCP/IP Services for OpenVMS
Notice:Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System
Moderator:ucxaxp.ucx.lkg.dec.com::TIBBERT
Created:Thu Nov 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5568
Total number of notes:21492

5466.0. "econnrefussed from socket?" by CSC32::J_HENSON (Don't get even, get ahead!) Thu Apr 24 1997 15:04

ucx v4.1 eco2, ovms alpha v7.1, dec c v5.2-003

A customer has written a multi-user server using a combination of
decthreads, c socket routines and the $qio interface.  He is
only using $qio for those operations which he needs asynch
performance.  He does not have kernel threads turned on.

In some cases, a call to socket fails with a -1.  Calling strerror
returns 'econnrefused connection refused', which doesn't make
a lot of sense to me.

Has anyone seen anything like this?  I realize that the information I
am providing is sketchy, but thought I'd start it this way before
asking the customer for a reproducer.

Also, one question asked by the customer was the possibility of
errno or strerror not being totally thread safe.  His theory is
that perhaps strerror was getting confused and returning a status
from some other call.  Has anyone heard of anything like this (I
know, take it to the c conference)?  I have suggested he call
decc$set_reentrancy, even though I don't think it's necessary.

Thanks,

Jerry
T.RTitleUserPersonal
Name
DateLines