delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/26/16:32:11

From: "Technophile" <technophile AT NOSPAMemail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: socket programming
Date: 26 Dec 1999 01:58:05 EST
Organization: Concentric Internet Services
Lines: 19
Message-ID: <844e9t$9tr@journal.concentric.net>
NNTP-Posting-Host: ts001d37.gre-sc.concentric.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm trying my best to learn sockets under C++, and I want to use DJGPP as my
compiler with which to do that.  I know that the standard DJGPP stuff
doesn't come with socket support because that's intrinsic originally to UN*X
platforms, etc.  However, RSXNTDJ does have the necessary header files (and,
presumably, code) to make it happen, apparently.  I'm trying my best to get
a program up and running with this, by compiling thusly:
gxx -Wall -o -I..\rsxntdj\include myprog.exe myprog.cc
...which implements the includes from RSX's directories.  However, although
some programs will actually compile with that, I get a runtime error and the
program crashes.  Never fails.  I'm frustrated to the hilt with trying to
use the RSX libs, and I've found that socket library "libsocket" for DJ, but
I can't get it all configured correctly I suppose.  Anybody have any
suggestions as to what I should do here?  All constructive replies are quite
appreciated.

.Tek
technophile AT email DOT com


- Raw text -


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