Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #1539

Re: Uthernet receive error: bytes swapped

From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: Uthernet receive error: bytes swapped
Date 2015-03-01 00:34 +0000
Organization Mac GUI
Message-ID <dog_cow-1425170116@macgui.com> (permalink)
References <dog_cow-1425155060@macgui.com> <54409bfb-8a90-48be-9276-76339e6ba005@googlegroups.com>

Show all headers | View raw


a2retrosystems wrote:
> 
> Hi David, do you see the same behavior in the Applewin emulator?

No, because I don't use that emulator.

> Also is it
> random or repeatable in any fashion?

I've been having a problem receiving packets for the past week or two, but
it's only this morning that I looked closer at the problem. I think there's
two problems: one I think is with my checksum routine, so we'll forget about
it for now because I can probably solve that myself. The second is the
subject of this thread.

Anyway, I need to gather more data, but it's definitely happened more than
once. I don't know how to repeat it, so for now I'll classify it as random.

The location where the double byte occurs isn't always the same, but so far
it's never been in the Ethernet MAC header, it's always been around the
beginning few bytes of the IP header, right around the flags/fragment bytes.

It's almost like someone is "missing a beat" because you know you have to
read the high byte from the one location, then the low byte from the other
location and so on. It looks like somehow this pattern is getting messed up,
so the bytes start coming out in the wrong order.


-- 
]DF$
Apple II Book: http://macgui.com/newa2guide/
Usenet: http://macgui.com/usenet/  <-- get posts by email!
Apple II Web & Blog hosting: http://a2hq.com/

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Uthernet receive error: bytes swapped D Finnigan <dog_cow@macgui.com> - 2015-02-28 20:23 +0000
  Re: Uthernet receive error: bytes swapped David Schmenk <dschmenk@gmail.com> - 2015-02-28 12:58 -0800
  Re: Uthernet receive error: bytes swapped a2retrosystems@gmail.com - 2015-02-28 16:20 -0800
    Re: Uthernet receive error: bytes swapped D Finnigan <dog_cow@macgui.com> - 2015-03-01 00:34 +0000
      Re: Uthernet receive error: bytes swapped a2retrosystems@gmail.com - 2015-02-28 17:17 -0800
      Re: Uthernet receive error: bytes swapped David Schmidt <schmidtd@my-deja.com> - 2015-02-28 21:58 -0500
  Re: Uthernet receive error: bytes swapped ol.sc@web.de (Oliver Schmidt) - 2015-03-01 14:33 +0000
    Re: Uthernet receive error: bytes swapped David Schmenk <dschmenk@gmail.com> - 2015-03-01 12:15 -0800
  Resolved!, was Re: Uthernet receive error: bytes swapped D Finnigan <dog_cow@macgui.com> - 2015-03-02 20:47 +0000
    Re: Resolved!, was Re: Uthernet receive error: bytes swapped gids.rs@sasktel.net - 2015-03-02 16:14 -0800
      Re: Resolved!, was Re: Uthernet receive error: bytes swapped D Finnigan <dog_cow@macgui.com> - 2015-03-06 00:30 +0000
        Re: Resolved!, was Re: Uthernet receive error: bytes swapped David Schmidt <schmidtd@my-deja.com> - 2015-03-05 20:53 -0500
          Re: Resolved!, was Re: Uthernet receive error: bytes swapped D Finnigan <dog_cow@macgui.com> - 2015-03-07 17:37 +0000
        Re: Resolved!, was Re: Uthernet receive error: bytes swapped David Schmenk <dschmenk@gmail.com> - 2015-03-06 07:21 -0800
          Re: Resolved!, was Re: Uthernet receive error: bytes swapped D Finnigan <dog_cow@macgui.com> - 2015-03-07 17:31 +0000

csiph-web