Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

socket programming error

Status
Not open for further replies.

bluemichael

Programmer
Jun 22, 2003
3
0
0
GB
I am running a java socket program with in websphere app server. I get the following error when the socket object is created, this appears to be an error message from the underlying operating system AIX. I can't find this error listed can anyone tell me where it is listed, what causes it? the ip and port and user id I use are all correct according to /etc/hosts...

errno: 68, error: The socket name is not available on this system. for fd: 236

thanks

bluemichael

 
If 68 refers to an "errno" value, then on AIX 4.3 & AIX 5.1
then it stands for "EADDRNOTAVAIL"...
...which means, I believe, "A non-existent interface was requested or the requested source address was not local" or stated from another source "An attempt was made to create a socket with a network address for which no network interface exists."

I have heard of this error occuring (in 'C') when
the sockaddr_in structure was not zeroed out before use.

-tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top