Re: TCP/IP socket problem


Subject: Re: TCP/IP socket problem
From: Craig Armstrong (wcarmstrong@quintron.com)
Date: Fri Oct 27 2000 - 10:12:57 MDT


Thanks for the response.

The same code works on Solaris and pSOS. I must be missing something in the
environment for Yellow Dog and Red Hat.

- Craig

"Douglas E. Kearns" wrote:

> Craig Armstrong wrote:
>
> > Hi,
> >
> > I'm trying to develop a simple C Client/Server TCP/IP socket
> > application. When the Client does a connect() I get the following
> > error:
> >
> > "Socket operation on non-socket"
> >
> > I also get the same results on RedHat. The code is pretty simple
> > straight out of the Stevens books. I'm not sure if it is a coding
> > error, configuration error, or possibly I need to link in a library ???
> >
> > Does anybody have sample Client/Server TCP/IP socket codefor C/C++?
> >
> > Thanks in advance,
> >
> > - Craig
>
> Try searching for "socket programming" on the net for a premier. This will
> help you get started.
>
> -Doug



This archive was generated by hypermail 2a24 : Fri Oct 27 2000 - 10:18:55 MDT