delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/29/15:54:20

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <001101c1a90e$85a98440$520510ac@et30>
From: "jade" <jade AT cdict DOT umcc DOT cu>
To: <djgpp AT delorie DOT com>
Subject: libsocket
Date: Tue, 29 Jan 2002 15:47:17 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Reply-To: djgpp AT delorie DOT com

Hi everybody. I'm porting one of my win32 games to djgpp. The game was
originally made  using MSWINSOCK ( it is a multiplayer game and it
communicates using tcp/ip).
I included these files
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
And made some calls to gethostbyname and connect but when I link the program
I got some error messages telling that it finds undefined references to
gethostbyname,socket,connect adn herror and at the bottom it reads
"collect2.ld returned 1 exit status"

any help will be good.

PD
Sorry if I make too much mistakes but english is not my mother language.



- Raw text -


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