From: Nasir Khan Date: 2008-02-29T09:53:34+09:00 Subject: how to set socket options? ------=_Part_9566_8472547.1204246398483 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline We can set socket options using setsockopt on BasicSocket, where can I get various constants SOL_ constants such as Socket::SOL_SOCKET etc? I am unable to find them in rdoc. Also while writing a TCP client to a non Ruby (but non blocking) server while I write on the socket using socket.write I am not getting anything on the server till I do socket.close. socket.puts works fine but has an additional newline in the message which I do not want. Any pointers in both of these questions will be greatly appreciated. Thanks Nasir ------=_Part_9566_8472547.1204246398483--