Closing a socket.

Chris Johns chrisj at rtems.org
Thu May 12 09:22:40 UTC 2005


Thomas Rauscher wrote:
>   
> No, I meant to create a sending socket and sending a message to
> the listening thread using a special QUIT, EXIT, CLOSE or whatever
> packet. Of course this only an option in self-designed protocols.
> 

Ah ok. Not so easy when the protocol is not home grown or is SSL/TSL.

> 
> I was thinking about the BSD socket shutdown() function. 
> Sorry for being imprecise.
> 

No problem. I found the shutdown function you are referring to. It 
suffers the same problem all the system calls suffer.

-- 
  Chris Johns



More information about the users mailing list