home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vxworks
- Path: sparky!uunet!news!wrs.com!geoff
- From: geoff@wrs.com (Geoff Espin)
- Subject: Re: Question about TCP sockets
- Message-ID: <geoff.725148696@wrs.com>
- Keywords: close() sockets TCP
- Sender: news@wrs.com (News Manager)
- Nntp-Posting-Host: harirud
- Organization: Wind River Systems, Inc.
- References: <1992Dec23.183018.4370@lds.loral.com>
- Date: Wed, 23 Dec 1992 22:11:36 GMT
- Lines: 17
-
- jprice@lds.loral.com (Jeffrey Price) writes:
-
- > ... when a Vxworks task terminates without explicitly closing the socket,
- > subsequent reads and writes to that socket by another task do not fail like
- > they do under Unix. It appears that Vxworks does not realize that the task
- > using the socket has terminated.
-
- VxWorks tasks are not UNIX processes. File descriptors (& sockets) are global.
- If a task terminates (abnormally, or not) _it_, or some "master" task,
- is responsible for closing file descriptors -- if this is the desired model.
- taskCreate/DeleteHook's are sometimes used to keep track of fd's.
-
- Geoff
- --
- Geoff Espin geoff@wrs.com (510)748-4100
- Wind River Systems
- 1010 Atlantic Avenue Alameda CA 94501
-