🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5401

Re: Using network protocols without a network

#5401
From: p Anders
Date: Thu, 02 Sep 2004 00:13
24 lines
1850 bytes
I found the problem - I was using a broadcast address when initializing my
socket - I changed it to use the local host address to initialize the socket
and everything's working fine.

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:41362510$1@newsgroups.borland.com...
>
> "p Anders" <paul.anderson@jhuapl.edu> wrote in message
> news:413621c6$1@newsgroups.borland.com...
>
> > This does not seem to work, however.  I am trying to create
> > a UDP socket while not connected to the network and I am
> > receiving an " WSAENETUNREACH " error.  The socket I
> > am creating is for UDP broadcast.  I am using Windows 2000.
>
> Please show your actual code.  Sockets work just fine on a single machine
as
> well as over a network, so you must be using the socket wrong in your
code.
>
>
> Gambit
>
>
Technical Details
Message-ID: <413665c8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <413621c6$1@newsgroups.borland.com> <41362510$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,67c1fa77c2983b92
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "p Anders" <paul.anderson@jhuapl.edu>
From: "p Anders" <paul.anderson@jhuapl.edu>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <413621c6$1@newsgroups.borland.com> <41362510$1@newsgroups.borland.com>
Subject: Re: Using network protocols without a network
Date: Wed, 1 Sep 2004 20:13:59 -0400
Lines: 26
Organization: JHU/APL
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 128.244.21.67
Message-ID: <413665c8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1094084040 128.244.21.67 (1 Sep 2004 17:14:00 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail