hi all,

with asm, anyone has any sample (port programming) to test a network connection, without sokets ? Just something easy to test phisical connection between 2 pc.

Thanks B7
Posted on 2003-06-21 07:38:01 by Bit7

there is no single and easy solution which can do the job just described.
It depends on the network adapter used first. It also needs lots
of knowledge regarding drivers. It's possible and quite hard :)

Why do you reject sockets? What about pinging the other host?

Bye Miracle
Posted on 2003-06-23 05:52:07 by miracle
i would like to use power of asm just to check a phisical connection ... but in effect, to chek continuity with a pc you need to send a packet in a specific protocol, so headers and bla bla bla are needed...
Socket probably is the easyest choice.

Posted on 2003-06-23 06:52:55 by Bit7

if you are looking for a real challenge try it without sockets. That
way you're required to think which network adapters should be

Maybe you can avoid writing your own driver by low-level
talking to the installed one. Check for NDIS and DDK.

if you try an own driver:
choose a network card you want to support
get the driver source code from linux kernel (e.g. rtl8139.c)
write a driver for windows (VXD or SYS)
get io-address, IRQ and type of network adapter
consider that you maybe trash the original driver :-)
in and out to the card

getting the MAC-address from a network that way is not
that hard. It's up to you to understand how the transceiver
on the card works.

Bye Miracle
Posted on 2003-06-23 11:03:00 by miracle
Go Here and get TCPtable v2.

Cut & Paste it up to check your adapter statistics, check your received amount and any activity means you have a working connection.

Regards, P1 :cool:
Posted on 2003-06-23 11:50:15 by Pone