I am trying to create a raw socket using Ruby.
The problem is that there is nothing called a "raw socket", and on the other hand, the Socket class itself is not fully documented.
Does anyone have code samples for this kind of socket in Ruby or maybe some documentation for this?
By the way, I already know how to work with the TCPSocket and TCPServer classes, and what I need is, in particular, a raw socket.
source
share