delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/05/17/05:21:49

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Lawrence Rust" <nospam AT NOsoftsystemSPA DOT coM DOT uk>
Newsgroups: comp.os.msdos.djgpp
References: <4468AAA9 DOT 29630 DOT ECAC73 AT gerritvn DOT gpvno DOT co DOT za> <44689859$0$20160$8fcfb975 AT news DOT wanadoo DOT fr> <1147826820 DOT 758286 DOT 194550 AT g10g2000cwb DOT googlegroups DOT com>
Subject: Re: SwsVpkt
Date: Wed, 17 May 2006 11:02:04 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
Lines: 45
Message-ID: <446ae69c$0$20186$8fcfb975@news.wanadoo.fr>
Organization: les newsgroups par Wanadoo
NNTP-Posting-Date: 17 May 2006 11:02:20 CEST
NNTP-Posting-Host: 81.49.3.156
X-Trace: 1147856540 news.wanadoo.fr 20186 81.49.3.156:1141
X-Complaints-To: abuse AT wanadoo DOT fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"decker" <bdeck AT lycos DOT co DOT uk> wrote in message
news:1147826820 DOT 758286 DOT 194550 AT g10g2000cwb DOT googlegroups DOT com...
> We have tested swsvpkt and discovered problems on laptops with mobile
> networking (i.e. wireless). It seems that swsvpkt continues to try to
> use the wifi interface, even when it isn't configured (or connected).
> None of the DOS apps will receive packets until the "Software Systems
> virtual packet driver" is disabled from the wifi interface and the
> system rebooted. Or until the wifi connects and in configured on a
> network.
>
> Is there a command line methon of telling swsvpkt which interface(s) to
> use?

No, a packet driver always advertises all available adapters.  The packet
driver ACCESS_TYPE call provides means for the client to select which
adapter(s) they wish to use.

This sounds like your application is only using the first adapter provided
by SwsVpkt and it just happens that the first binding is the WiFi.  A packet
driver can support several adapters.  In the DRIVER_INFO call the driver
returns the number of adapters -1 in the CL register.  The clent then
selects the adapter to use with the DL register in the ACCESS_TYPE call.

By default, SwsVpkt binds to all LAN & WAN (dial-up) adapters.  You can
change this by opening the 'Network and Dial-up connections' control panel,
right click the WiFi adapter and select properties.  In the components list
box you should see 'Software Systems virtual packet driver' - uncheck the
box next to this.  When the dialog is closed the packet driver unbinds from
the adapter, a re-boot is not normally required.


> Somehow it would be good if it could see the windows routing table
> and establish automatically which interface it should use for which
> address.

SwsVpkt knows nothing about IP adresses, it just handles raw Ethernet
frames.

The binding of MAC address to IP address is the concern of the application
or TCP/IP stack that you are using.  I suggest that you contact the vendor
of your stack to discuss this problem.

- Lawrence Rust, Software Systems, www.softsystem.co.uk


- Raw text -


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