Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!eagle.sangamon.edu!chen From: chen@eagle.sangamon.edu (David Chen) Newsgroups: comp.unix.bsd Subject: accept in socket Date: 8 Nov 1994 03:58:53 GMT Organization: Sangamon State University Lines: 11 Message-ID: <39mt1t$kgg@vixen.cso.uiuc.edu> NNTP-Posting-Host: eagle.sangamon.edu X-Newsreader: TIN [version 1.2 PL2] I am currently working on socket programs. The program design is fairly simple: one server accepting request from different clients through socket "channels". However, since I am using connection type of sockets, I am having problem with accept() system call. The server program will hang there if there is no connection requests from clients. Is there any timeout algorithm for server module? I mean after waiting for a while, server exit normally. Please send me e-mail and any comments are appreciated. Dave