item_toggle

item_toggle(item) Instance Public methods

each_address 2

each_address(name) Instance Public methods Iterates over all IP addresses for name.

set_next_callback

set_next_callback(args) Instance Public methods

export

dsa.to_pem([cipher, password]) â aString Instance Public methods Encodes this DSA to its PEM encoding. Parameters cipher is an OpenSSL::Cipher. password is a string containing your password. Examples DSA.to_pem -> aString DSA.to_pem(cipher, 'mypassword') -> aString to_pem to_s

new

new(class_names, config) Class Public methods

get_string

get_string() Instance Public methods Also aliased as: get

dlineinfo

dlineinfo(index) Instance Public methods

new

new(addr, types, func = nil) Class Public methods Wraps the C pointer addr as a C struct with the given types. When the instance is garbage collected, the C function func is called. See also Fiddle::Pointer.new

load_defaults

load_defaults() Class Public methods Loads the default specifications. It should be called only once.

udp_server_loop

Socket.udp_server_loop(port) {|msg, msg_src| ... }Socket.udp_server_loop(host, port) {|msg, msg_src| ... } Class Public methods creates a UDP/IP server on port and calls the block for each message arrived. The block is called with the message and its source information. This method allocates sockets internally using port. If host is specified, it is used conjunction with port to determine the server addresses. The msg is a string. The msg_src is a Socket::UDPSource object. It is u