UDP client server communication JAVA Project
In this part, you need to design and implement a client-server file transfer program using User
Datagram Protocol (UDP), in the Java programming language.
Review the UDPChat Java program that was used in your lab. Make a new class called Bridge
that contains main() method, receives packets on port 4000 from UDPClient, and sends those
to the UDPServer listening on port 5000. In the opposite direction it can also receive packets
from UDPServer and can send them to the UDPClient. You need to create two
DatagramSockets for that purpose; one has to be bound to port 4000 for receiving packets from client and one for sending packet to server which you may (or may not) use a specific binding port. Review the supporting document for more idea on DatagramSocket and DatagramPacket.
The Bridge class needs only main() method; and when it runs with UDPClient and UDPServer in
one machine, it acts as a bridge between the two applications. Without changing the UDPClient
code, the result of the running all classes should not be affected as compared to Lab result and
still should show the Capitalized sentence. You need to change the binding port in UDPServer
from 4000 to 5000.
Modify the UDPServer and UDPClient such that the server stores the strings received from the
client (via the Bridge) in a file called [login to view URL] until the client aborts the process by sending \q and without requiring to restart client app for every string.
Further modify the UDPClient and UDPServer so that if the client asks for a text file that exist in
the server directory, the server sends the file. The client computer will ask the server to send a
copy of a file to the client. The name of the file is to be sent to the server asking if it has a copy.
If it has, then the transfer starts; if not, the server responds that it does not have the file and
asked for another file name. The file is to be of only ASCII characters (no binary files).
This should work for large text files that needs to be transmitted in multiple UDP packets. The
server must do the segmentation required for large files. The received file must be saved in the
client directory. The server computer will send an "end of file character" to signify the end of file.
When the client detects the end-of-file marker, it will close the file and send back an
acknowledgement character to the server to acknowledge the receipt of the file which server
shows on its screen.
The Bridge should show the number of packets that have been transmitted from server to client
at any given time, and its buffer size should be 128 bytes.
In the enhancement part, you will implement an automatic error detection mechanism. The
Bridge class will randomly drop one packet during transfer of a large file. You need to detect this in the client and send a message to the server about the missing packet.
Bu iş için 18 freelancer ortalamada $153 teklif veriyor
Hi there, I do Java programming and have experience in developing network app thus I am familiar with UDP its dis-advantage and some error-checking mechanism for reliable transfer. I went through your requirements and Daha Fazla
VERY EASY FOR ME As you can see in my review, I've done similar with yours Hello. I have read your description and I am so interested in your project. I am confident in your project and I can finish it clearly on time Daha Fazla
Hello, Thank you very much post your project. I am very much interested on your [login to view URL] my Experience and Expertise I believe and very confident that I will be able to handle your project efficiently and effect Daha Fazla
Hi. I read your detail and understand it exactly. I am good experience with java and such thing you have. Let know more about your job and then I want to make decision.
⭐⭐⭐⭐⭐ Hello Sir, Greetings. I am an Expert Java Developer with ample of experience in Socket Programming. I can help you with your Java Project. This is an initial bid. Feel free to message me. We can discuss about the Daha Fazla
More details are required to do the project. Do you need all three classes (udpserver, udpclient, bridge) or just the bridge class. This can be done within the day and can be tested in the same time frame.