Depending on the behavior of your application you???ll have to handle that part differently, i.e. if you want that while loop to continue and you want the server socket to continue to listen for incoming clients then you obviously wouldn???t want to break out of that while loop (but you???ll probably want to add some logic that breaks out of that while loop eventually haha).