Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
darkrising

Packet Duplications - Potential bug?

Question

Hello, I've been experimenting with different switch setups between 2 computers.

 

For some reason, if the wire and switch is going one way I get packet duplications but if the wire is setup a different way I don't.

 

Here's some screenshots to explain what I mean:

 

Setup 1

NoTpfzH.png

YOSn27w.png

 

Setup 2

SIUyeDW.png

yKoG5T9.png

 

 

As you can see the 2nd setup has packet duplication where as the first does not...

 

This is quite strange and I'm not really sure why this is happening.

programs.zip

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  • Solution

This is by design - switches just brainlessly bounce messages (a certain number times, the packets' TTL). The switch under the screen forms a cycle (with the face touching the screen and the face touching the cable that also connects to the subnetwork the screen is in). Just make sure to avoid cycles :)

Link to post
Share on other sites
  • 0

I think the problem might be in example 2 where the monitor is connected through the switch and a network cable from the same computer as said monitor is also connected to the switch. All component blocks act as network cable with the exception being power distributors, server racks on the internal setting, and 1 more thing I'm probably forgetting..

Let me know if I could be clearer.. :) 

Link to post
Share on other sites
  • 0

I think the problem might be in example 2 where the monitor is connected through the switch and a network cable from the same computer as said monitor is also connected to the switch. All component blocks act as network cable with the exception being power distributors, server racks on the internal setting, and 1 more thing I'm probably forgetting..

Let me know if I could be clearer.. :)

 

I understand :P

 

This is by design - switches just brainlessly bounce messages (a certain number times, the packets' TTL). The switch under the screen forms a cycle (with the face touching the screen and the face touching the cable that also connects to the subnetwork the screen is in). Just make sure to avoid cycles :)

 

Ah okay, that's cool, least it isn't a bug. I'll just have to design my network code with packet filtering like the 2 programs I attached. :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.