Find Jobs
Hire Freelancers

C++ Program: Wireless System - Homework Help

$30-100 USD

Ολοκληρώθηκε
Αναρτήθηκε πάνω από 15 χρόνια πριν

$30-100 USD

Πληρωμή κατά την παράδοση
I need to have five entities created in C++ for a wireless routing system: a Mobile Node, a Home Agent, 2 Foreign Agents, and a Data Source. The Foreign Agents and Mobile Node processes will be run on the same physical machine. You will ultimately be writing 4 programs (all very small). The Data Source opens a UDP port, sets the destination to the Home Agent IP/Mobile Node port, and sends a packet once per second, with increasing sequence numbers. The source IP/port do not matter. The Home Agent opens a UDP port with source bound to Home Agent IP/Mobile Node port and sets destination to Foreign Agent IP/Foreign Agent port. If it receives a packet on this port, it is either a registration request from the Mobile Node or a data packet from the Data Source. If it is a registration packet, the Home Agent changes the destination to Foreign Agent IP/ new Foreign Agent port. If it is a data packet, it sends the packet to the current care-of address. The 2 Foreign Agents open a UDP port, bind the source to Foreign Agent IP/Foreign Agent port, and set the destination to Foreign Agent IP/Mobile Node port. (Remember that Foreign Agent IP = Mobile Node IP.) Each time they receive a packet, they forward it on to the mobile. The Mobile Node opens a UDP port with source bound to Foreign Agent IP/Mobile Node port and destination set to Home Agent IP/Mobile Node port. Every 5 seconds, it sends a registration request to the Home Agent with the alternate Foreign Agent's care-of address in the packet. (We assume that the Mobile Node knows the care-of addresses for the 2 Foreign Agents.) When it receives a packet, it must make sure that it has come from the right Foreign Agent (by comparing the source port to the currently registered Foreign Agent). When the Mobile Node has run for 100 seconds it should exit. Upon acceptance of the bid, I will post two example programs which send and receive UDP packets respectively. If you choose to, you can use these as a starting point and modify them for the requirements specified above.
Ταυτότητα εργασίας: 3411995

Σχετικά με την εργασία

8 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 15 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
See private message.
$59,50 USD σε 4 ημέρες
4,8 (93 αξιολογήσεις)
6,5
6,5
8 freelancers δίνουν μια μέση προσφορά $331 USD για αυτή τη δουλειά
Avatar Χρήστη
See private message.
$423,30 USD σε 4 ημέρες
4,9 (114 αξιολογήσεις)
6,2
6,2
Avatar Χρήστη
See private message.
$85 USD σε 4 ημέρες
4,5 (19 αξιολογήσεις)
5,6
5,6
Avatar Χρήστη
See private message.
$1.700 USD σε 4 ημέρες
4,9 (13 αξιολογήσεις)
4,1
4,1
Avatar Χρήστη
See private message.
$106,25 USD σε 4 ημέρες
5,0 (16 αξιολογήσεις)
3,8
3,8
Avatar Χρήστη
See private message.
$76,50 USD σε 4 ημέρες
3,9 (11 αξιολογήσεις)
3,9
3,9
Avatar Χρήστη
See private message.
$30 USD σε 4 ημέρες
5,0 (2 αξιολογήσεις)
1,1
1,1
Avatar Χρήστη
See private message.
$170 USD σε 4 ημέρες
5,0 (1 αξιολόγηση)
0,8
0,8

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
United States
3,8
3
Μέλος από Ιουλ 1, 2008

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.