Giter Club home page Giter Club logo

c300ass2hayatodon's Introduction

s-talk

SFU CMPT 300 Spring 2023 Assignment 2

Dongan Kim(301441678), Hayato Koyama(301423217)

The possible errors we have in the program:

When you try to use this program with a public wifi or in any public facilities(e.g. Cafe, Library etc), the UDP traffic might be blocked by the firewall or network traffic configuration managed by the wifi owner, and you might not be able to send/receive any message using ID address. (The program we wrote works fine in CSIL on SFU).

If you are using your personal computer and have some firewall configurations, you may need to allow UDP traffic to pass in order to use this s-talk program. For troubleshooting regarding Firewall configuration, please try tips below or refer to the URLs below:

  • Firewall Settings:

Ensure that the firewall on both machines allows incoming and outgoing UDP traffic on the specified ports. Check the firewall settings on both machines and make sure that the rules allow communication on these ports.

  • IP Address and Port Configuration:

Double-check that the IP addresses and port numbers are correct on both ends. It's essential that you use the correct IP address and port for each machine.

  • Network Connectivity:

Confirm that there is a network route between the two machines. You can use tools like ping to check if the machines can communicate with each other over the network.

  • Firewall Logs:

Check the firewall logs on both machines to see if any blocked connections or denied requests are logged. This can provide more information about whether the firewall is causing the issue.

  • Debugging Output:

Add debug prints or logs to your code to check if the UDP sockets are being created successfully, and if the messages are being sent and received. This can help identify if there are any issues with the communication process.

  • Try Different Ports:

If possible, try using different port numbers in case there is a conflict or an issue with the specific port numbers you are currently using.

  • Network Devices Configuration:

If there are routers or other network devices between the two machines, check their configurations to ensure that they are not blocking UDP traffic on the specified ports.

  • Temporary Disable Firewall:

As a troubleshooting step, you can temporarily disable the firewall on both machines to see if it resolves the issue. If it does, then you know that the firewall settings need adjustment.

trouble shooting links:

https://stackoverflow.com/questions/13905724/udp-message-blocked-by-firewall-despite-port-exception

https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/windows-fireware-rule-block-udp-communication

c300ass2hayatodon's People

Contributors

hayato0512 avatar dongan-kim avatar

Watchers

 avatar

Forkers

dongan-kim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.