Imported old socket programming functions.
Basic listen server finished.
Refitting for current project.