🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Tumurbaatar S. Mon, 14 Aug 2006 09:30
LAN card programming
#3271
Author: Tumurbaatar S.
Date: Mon, 14 Aug 2006 09:30
8 lines
1035 bytes
Hi, all!
Is there a way to talk with NIC directly avoiding higher level layers like 
IP and etc protocols?
A Win32 program I'm developing, needs to communicate with external devices 
connected to
Ethernet.

Thank you!
Re: LAN card programming
#3279
Author: Colin B Maharaj
Date: Thu, 17 Aug 2006 10:58
24 lines
1952 bytes
Tumurbaatar S. wrote:
> Hi, all!
> Is there a way to talk with NIC directly avoiding higher level layers like 
> IP and etc protocols?
> A Win32 program I'm developing, needs to communicate with external devices 
> connected to
> Ethernet.
> 
> Thank you!
> 
> 
> 
Sorry but the answer is mainly no! The whole idea of windows development
is to have a layer of abstraction between software and hardware called
a device driver. So Win32 programming is really about talking to device 
drivers instead of devices directly.

I said mainly no because the fact is that you can write your own device
driver for a certain network card and create your own routines, but
this adds a layer of complexity that normal application writers 
(non-device driver writers) do not want to get into.

Also writing device drivers may require certain software tools that, 
probably, Borland does not have support for.
Re: LAN card programming
#3280
Author: Christian Lotze
Date: Thu, 17 Aug 2006 11:23
15 lines
1332 bytes
Tumurbaatar S. schrieb:
> Hi, all!
> Is there a way to talk with NIC directly avoiding higher level layers like 
> IP and etc protocols?
> A Win32 program I'm developing, needs to communicate with external devices 
> connected to
> Ethernet.
> 
> Thank you!
> 
> 
> 
look for "winpcap"

Christian
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads