Read and Write file | Interface | Implementation | Server & Client | RMI

Опубликовано: 03 Октябрь 2024
на канале: Basic Code
1,036
20

Write a program for

The server receives:
The name of a file
The position of the byte to be read
The Server open the file, reads the byte at the specified position and
returns the read byte.

The Client:
Sends a string representing the name of a file and the position of a
byte to be read
Receives the read byte
Writes the byte to a local file