Skip to content

Instantly share code, notes, and snippets.

View sleepynight2024's full-sized avatar
๐Ÿ‘‹
Working remotely

sleepynight2024

๐Ÿ‘‹
Working remotely
View GitHub Profile
@absalomhr
absalomhr / FileReceive.java
Created March 17, 2019 06:16
Safe/Trustworthy File Transfer Using UDP (Datagrams) Sockets in Java
package FileTransfer;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
/**