www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/06/14:17:17

From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Winsock advice...
Date: Tue, 06 Jan 1998 18:29:56 GMT
Organization: [posted via] Easynet UK
Lines: 23
Message-ID: <34b0e10c.3667024@news.easynet.co.uk>
References: <34ac77a0 DOT 0 AT news DOT cadvision DOT com>
NNTP-Posting-Host: foot.easynet.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 2 Jan 98 05:14:08 GMT, frenchc AT cadvision DOT com (Calvin French) wrote:

>Can I Winsock to myself? I will try this tonight, see what I can get cooking. 

Yes indeed -- use INADDR_LOOPBACK (0x7F000001), which is 127.0.0.1
decoded.  You'll need to htonl it first, of course, so the value you
pass to the socket library is 0x0100007f.

>I'm using the little DJGPP Winsock package, don't worry this message isn't 
>misposted.

Which one?

>But if anybody has had experience with this maybe could you get 
>back to me? I'll try and check the group but my newsfeed sometimes nukes 
>things before I get to them, cc email to frenchc AT cadvision DOT com would be 
>greatly appreciated.

Done.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


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