class ServerEngine::WinSock::WSAPROTOCOL_INFO

Public Class Methods

from_bin(bin) click to toggle source
# File lib/serverengine/winsock.rb, line 71
def self.from_bin(bin)
  proto = malloc
  proto.to_ptr.ref.ptr[0, size] = bin
  proto
end

Public Instance Methods

to_bin() click to toggle source
# File lib/serverengine/winsock.rb, line 77
def to_bin
  to_ptr.to_s
end