quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryبرمجة وتطوير البرمجيات schoolبكالوريوس event_available2026-07-15

السؤال

Transcribed Image Text:

Goal: Chatting with someone requires the use of SMS text messaging or a server-based Instant Messenger (IM) service such as AIM or Google. What if you want to chat with someone that is nearby (that is, within the same room or otherwise within the same WiFi hotspot or Ethernet domain that you are part of)? Why use an expensive and/or heavyweight service such as SMS or IM? For your first project you will develop a "local chat" program whereby you can chat directly with a nearby user and implement it in a Windows, Linux, or Android application program. The "local chat" program should be implemented using a client/Server model based on UDP protocol. Requirements: The requirements of this "local chat" program must meet are: 1. The chat is performed between a client and a server. 2. The server will first start up and choose a port number. Then the server prints out its IP address and port number. 3. The client then will start up and create a socket based on the information provided by the server. 4. Now the client and the server can chat with each other by sending messages over the network. 5. The client/server MUST be able to communicate with each other in a continuous manner. (e.g. One side can send multiple messages without any replies from the other side) 6. There is no requirement on what language you use to implement this project, but your program should call upon the socket API for UDP to realize the functionality. 7. Since our class is changed to online class, so this assignment needs to be done by individually. Submission: Submit your project via the Canvas on or before midnight of the assignment due date. 1. Submit a hardcopy of your code in a WinZip archive individually. You need to submit two zip files. One for server side and one for client side. 2. You can use either two computers or one computer with virtual machine to demonstrate the communication between two machines. You should make a video for the communication itself. In your video, please introduce yourself with your name first, then continue with the record for communications between computers. Upload your video into Canvas system, too. (Can make me grade faster.) Goal: Chatting with someone requires the use of SMS text messaging or a server-based Instant Messenger (IM) service such as AIM or Google. What if you want to chat with someone that is nearby (that is, within the same room or otherwise within the same WiFi hotspot or Ethernet domain that you are part of)? Why use an expensive and/or heavyweight service such as SMS or IM? For your first project you will develop a "local chat program whereby you can chat directly with a nearby user and implement it in a Windows, Linux, or Android application program. The "local chat" program should be implemented using a client/Server model based on UDP protocol Requirements: The requirements of this "local chat" program must meet are 1. The chat is performed between a client and a server. 2. The server will first start up and choose a port number. Then the server prints out its IP address and port number 3. The client then will start up and create a socket based on the information provided by the server. 4. Now the client and the server can chat with each other by sending messages over the network 5. The client/server MUST be able to communicate with each other in a continuous manner. (e.g. One side can send multiple messages without any replies from the other side) 6. There is no requirement on what language you use to implement this project, but your program should call upon the socket API for UDP to realize the functionality 7. Since our class is changed to online class, so this assignment needs to be done by individually. Submission: Submit your project via the Canvas on or before midnight of the assignment due date. 1. Submit a hardcopy of your code in a WinZip archive individually. You need to submit two zip files. One for server side and one for client side. 2. You can use either two computers or one computer with virtual machine to demonstrate the communication between two machines. You should make a video for the communication itself. In your video, please introduce yourself with your name first, then continue with the record for communications between computers. Upload your video into Canvas system, too. (Can make me grade faster.)

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top