[Coco] 2022-06-03 Update on my CoCoIOn Ethernet Card project.

gene heskett gheskett at shentel.net
Sat Jun 4 03:24:32 EDT 2022


On Friday, 3 June 2022 14:26:20 EDT Michael Furman via Coco wrote:
> In the past week I have been hard at work on my socket library. While
> it is still a work in progress just this morning I got the code
> working well enough to get a test program working. The test program
> connects to a RFC 862 Echo service (Port 7) on either UDP or TCP
> (echou -u <ip> and echou -t <ip>)  It sends the message “Hello,
> Internet\n” to the echo server and prints the response.  With this
> working the basics of socket(), connect(), send(), recv(), and
> shutdown() are working for both UDP and TCP.  This is pretty big
> progress.
> 
> I do want to clarify one point. The CoCoIO card is using a WizNet
> W5100s chip. For both last week’s Ping demo and this week’s TCP and
> UDP echo test I am using the card’s internal APIs for everything. The
> CoCo is sending commands and data to the card and the W5100s is doing
> the heavy lifting of all the Ethernet, ARP, IP, ICMP, TCP, and UDP
> packets that go over the wire. While there are raw modes available I’m
> not using them and don’t plan to.
> 
> Lastly time for a riddle:
> 
> My CoCo needs to know what time it is and it can send and receive UDP
> packets.
> 
> I’m sure many of you will know the answer.  If not it should be
> answered in my next update.
> 
> —MikeyN6IL

Nitros9 has several hardware clocks, but none of them have the accuracy 
that needs. Drivewire can settime from the drivewire host which is 
probably NTP based and accurate to small fractions of a second.
But are you doing this from rsbasic or nitros9?

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





More information about the Coco mailing list