File: udpsocket.rb

package info (click to toggle)
mruby 3.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,584 kB
  • sloc: ansic: 51,933; ruby: 29,510; yacc: 7,077; cpp: 517; makefile: 51; sh: 42
file content (16 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
assert('UDPSocket.new') do
  s = UDPSocket.new
  assert_true(s.is_a? UDPSocket)
  s.close
  s = UDPSocket.new(Socket::AF_INET6)
  assert_true(s.is_a? UDPSocket)
  s.close
  true
end

#assert('UDPSocket#connect') do
#assert('UDPSocket#send') do
#assert('UDPSocket#recv') do

#assert('UDPSocket#bind') do
#assert('UDPSocket#recvfrom_nonblock') do