Long and difficult. Asking basic knowledge for TCP, UDP, SOCKET sth. Need to solve some problem like binary search, dynamic programming. The question can find on leetcode, it would start from normal and moving to hard. Interviewer will give you an IDE and you should not allow to use your own IDE.