A TCP server has IP address 10.0.7.2 and a TCP client has IP address 10.0.7.3. The TCP server is waiting on port number 3333 for a connection request. The client connects to the server and transmits 2000 bytes to the server, which are sent as 4 write operations of 500 bytes each.
So I was wondering if were to write out this command for the receiver would this be correct?
ttcp -ts -l500 -n4 -p3333 -D 10.0.7.2
or would it be
ttcp -ts -l2000 -n4 -p3333 -D 10.0.7.2
I'm assuming that it would be the first option but am not confident.