Answer:
Yes, both of these segments (A and B) will be directed to the same socket at Host C .
Explanation:
Suppose both Host A and Host B each send a UDP segment to Host C with destination port number 6789, surely , both of these segments will be directed to the same socket at Host C .
Reason being that, the operating system will provide the process with the IP details to distinguish between the individual segments arriving at host C- for each of the segments (A and B) recieved at Host C.
o_num = input ("Please enter the amount of \"o\": ")
zero_num = input ("Please enter the amount of zeros: ")
i = 0
while i < o_num and i < zero_num:
repeat_o = "Hell" + o_num
repeat_zero = repeat_o + zero_num
i+=1
print (repeat_zero)