Gerardo Richarte wrote:
Download: http://sourceforge.net/project/showfiles.php?group_id=3891&package_id=38... swiki: http://minnow.cc.gatech.edu/squeak/1762
This release includes two NetworkingDevices: LancePCIDevice and Realtek8139PCIDevice, the former implementing support, at least, for VMWare virtual cards, and the latter for a very common real network card.
I just found a stupid bug I forgot to patch before, so if you downloaded this version and want to test it in real hardware using a Realtek 8139, you need to change a method: (sorry for that)
Realtek8139PCIDevice>>sendNow: anEthernetPacket on: descriptorIndex | str | str := anEthernetPacket asString padded: #right to: 60 with: $ . (self transmitStartAddress: descriptorIndex) stringAt: 1 put: str. self transmitStatus: descriptorIndex put: str size.
This new version pads ethernet packets to a minimum of 60 bytes, because the card does not support auto padding of small packets. You will need this for almost anything (TCP SYNs and TCP SYN/ACK are < 60 bytes long for example).
again, sorry for this. gera