Hye, I have been task to creat a UDP file transfer using Visual Basic 2019.. i can transfer small files below 64kbytes but the requirement is bigger than that.. How to modify this code for it to be able to transfer larger files atleast 1Mbytes.

below is the client and server coding.

Client :
Code:
Imports System.Net.Sockets
Imports System.Text
Imports System.IO
Imports System.Net
...