accept()
method returns a new,
connected, socket. A program can start up a new
thread of execution which handles communications
using the connected socket, whilst allowing the "main program" to
again go back to "accepting connections".Lecture 9: Socket Programming Interface | Copyright © 2005 P.Scott, La Trobe University Bendigo. |