www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/29/04:20:05

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A4C577C.FCE6D935@mail.rdcps.ac.cn>
Date: Fri, 29 Dec 2000 17:21:00 +0800
From: crazyyao <crazyyao AT mail DOT rdcps DOT ac DOT cn>
Reply-To: crazyyao AT mail DOT rdcps DOT ac DOT cn
Organization: RDCP
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: zh-CN,zh,en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: gethostbyname & uname question, help!

I am a green hand in cygwin programming.
Would someone tell me how to get the network program compiled on cygwin?

I can't find which lib contains the function "uname" and
the function "gethostbyname" can't return the right value, either.

Which head file should I include, winsock.h or sys/socket.h?
What's the differenc between them?

Which libs should I use? Where are they?

I used to work on Linux.


Thanks very much.


&

Happy New Year to  EVERYONE!


crazyyao
RDCPS, Institue of Software, Beijing , China

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019