Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!cs.utexas.edu!rice!sun-spots-request From: media01!rla@relay.eu.net (Raymond van der Laan) Newsgroups: comp.sys.sun Subject: Stream sockets and killing processes Keywords: Miscellaneous Message-ID: <8367@brazos.Rice.edu> Date: 31 May 90 09:28:49 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 19 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 193, message 5 I have a problem using sockets. I let two processes (A and B) communicate with each other through a stream-socket. Then I kill process (A). The remaining process, B, sends data to the socket, which causes no errors. Receiving from the socket results in an error 54 (ECONNRESET). Now the strange thing. After the write (no errors), the read (error 54), I do a second write. This causes process B to stop! It reaches the write call, but it does not return from it. The process just terminates. I am sure process A is killed before B does a first write(). Is this normal?? Any reply would be greatly appreciated. Raymond vand er Laan Mediasystemen BV Holland