Find Jobs
Hire Freelancers

Socket Mobile IP Urgent

$30-250 USD

Đã hủy
Đã đăng vào gần 12 năm trước

$30-250 USD

Thanh toán khi bàn giao
You will need to write 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. (Note, that in real life, the HA would listen for registration packets on its own port, not the mobile node's. It's easier to listen on one port than two, but you may do it either way.) 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 rceive 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. ________________________________________ Output Each program must print out an indication of events which occur. The Data Source must print a line showing the sequence number of the packet sent, the time sent, and the destination IP/port. Example: Sequence Number = 1 Time = 15:22:34 Dest = [login to view URL] Sequence Number = 2 Time = 15:22:35 Dest = [login to view URL] The Home Agent receives two types of messages, data packets and registration packets. For data packets, it should print the sequence number, the time, and which Foreign Agent it is forwarding the packet to. For registration packets, it should print the time, and a message indicating what the new care-of address is. Example: Sequence Number = 2 Time = 15:22:34 Forwarded to [login to view URL] Sequence Number = 3 Time = 15:22:35 Forwarded to [login to view URL] Registration packet received. Time = 15:22:36 Changing care-of address to [login to view URL] Sequence Number = 4 Time = 15:22:37 Forwarded to [login to view URL] The Foreign Agents should print an indication of the time, the sequence number, and the destination each time they receive a packet and forward it. Example: Sequence Number = 2 Time = 15:22:35 Forwarded to [login to view URL] Sequence Number = 3 Time = 15:22.35 Forwarded to [login to view URL] The Mobile Node will receive data packets and send registrations. For data packets, it must print out the sequence number, the time of arrival, the Foreign Agent address, and an indication of whether the packet came from the right Foreign Agent or not (based on the source port). If not, it must be rejected (because in real life, the Mobile could no longer communicate with the old Foreign Agent). Registration packets should be indicated with the time and the new care-of address. Example: Sequence Number = 3 Time = 15:22:35 FA = [login to view URL] Accepted Registration sent. Time = 15:22:36 New care-of address = [login to view URL] Sequence Number = 4 Time = 15:22:36 FA = [login to view URL] Rejected Sequence Number = 5 Time = 15:22:37 FA = [login to view URL] Accepted Deadline: within 16 hours Only bid if you can do it right now. Thanks
Mã dự án: 1669773

Về dự án

7 đề xuất
Dự án từ xa
Hoạt động 12 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
7 freelancer chào giá trung bình $146 USD cho công việc này
Avatar người dùng
I have rich experience in Linux/C/C++/Network. I can do it, Thanks.
$250 USD trong 4 ngày
4,9 (8 nhận xét)
4,6
4,6
Avatar người dùng
I have written many network applications, and I can do your job quickly.
$180 USD trong 1 ngày
5,0 (6 nhận xét)
3,7
3,7
Avatar người dùng
With my 15+ plus years experience with C/C++/Java, I can complete your project on time and with high quality.
$250 USD trong 1 ngày
5,0 (1 nhận xét)
3,0
3,0
Avatar người dùng
I am confident of this project. I have had hand-on experience programming with C/C++ in Linux. Hope to work with you.
$100 USD trong 1 ngày
5,0 (1 nhận xét)
2,4
2,4
Avatar người dùng
Custom Software Development - <b><i>Removed by Admin</i></b>
$250 USD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
I am an experienced firmware developer. I have worked on similar projects . This should be fairly simple. Hope to here from you soon.
$100 USD trong 2 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
- I can provide well designed solution - I have handled similar projects (at work) in past - see more details in private message
$200 USD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
Hi, I'm having experience in network programming in C/C++ with projects like 3G support and other network protocols. I can finish the work in the above mentioned time and with full success guarantee, and even support after the delivery.
$100 USD trong 2 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
I have experience in this domain, KIndly give me a chance.
$90 USD trong 3 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của VIETNAM
NY, Vietnam
4,4
1
Thành viên từ thg 5 27, 2012

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.