Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - John Wilson

Pages: [1]
1
Programming / Re: Raw Ethernet I/O from an OS/2 application
« on: April 24, 2023, 06:35:06 am »
Interesting point about PATHWORKS!  OK I grabbed libpcap and it depends on ipspy.dll, which looks much more like what I want.  Seems like the .DLL itself might be closed-source though, so I can't do what it does, but at least I can call the DLL and maybe get what I need.  Thank you guys!

2
Programming / Raw Ethernet I/O from an OS/2 application
« on: April 23, 2023, 08:53:47 pm »
Is there a reasonable way to do raw Ethernet I/O (for using non-TCP/IP protocols) from a user-mode application?  Something equivalent to the DOS Packet Driver interface or Linux's PF_PACKET would be great, but a BPF/libpcap/WinPcap-style thing is good enough too.  I also need to be able to change my MAC address (which might be upsetting to the local TCP/IP stack's ARP layer if it isn't wired for that) and multicast address list, or at least set up promiscuous mode so I can *pretend* to do those things.  No idea where to look!  I hope it doesn't mean writing a cooperating fake network driver (like WinPcap) because that has quite a learning curve ... but if that's the only choice, OK.  If it matters:  my application is a minicomputer emulator, which can emulate a minicomputer Ethernet port so the minicomputer OS can run old-fashioned networking protocols (most likely DECnet).  Ethernet has long been a missing piece in my OS/2 build.  Thanks / JW

Pages: [1]