Class: OpenC3::UdpWriteSocket
- Inherits:
-
UdpReadWriteSocket
- Object
- UdpReadWriteSocket
- OpenC3::UdpWriteSocket
- Defined in:
- lib/openc3/io/udp_sockets.rb
Overview
Creates a UDPSocket and implements a non-blocking write.
Constant Summary
Constants inherited from UdpReadWriteSocket
OpenC3::UdpReadWriteSocket::HOST_0_0_0_0, OpenC3::UdpReadWriteSocket::WRITE_FLAGS
Instance Method Summary collapse
-
#initialize(dest_address, dest_port, src_port = nil, multicast_interface_address = nil, ttl = 1, bind_address = HOST_0_0_0_0) ⇒ UdpWriteSocket
constructor
A new instance of UdpWriteSocket.
Methods inherited from UdpReadWriteSocket
#method_missing, multicast?, #read, #write
Constructor Details
#initialize(dest_address, dest_port, src_port = nil, multicast_interface_address = nil, ttl = 1, bind_address = HOST_0_0_0_0) ⇒ UdpWriteSocket
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/openc3/io/udp_sockets.rb', line 179 def initialize( dest_address, dest_port, src_port = nil, multicast_interface_address = nil, ttl = 1, bind_address = HOST_0_0_0_0 ) super( src_port, bind_address, dest_port, dest_address, multicast_interface_address, ttl, false, true) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenC3::UdpReadWriteSocket