Method: TCPSocket#setsockopt
- Defined in:
- lib/polyphony/extensions/socket.rb
#setsockopt(*args) ⇒ TCPSocket
Calls setsockopt with the given arguments.
271 272 273 274 |
# File 'lib/polyphony/extensions/socket.rb', line 271 def setsockopt(*args) @io ? @io.setsockopt(*args) : orig_setsockopt(*args) self end |