Class: Socket

Inherits:
Object show all
Defined in:
lib/framework/autocomplete/Socket.rb

Overview

It is auto-generated content. Do not do required for this file in your application.

Defined Under Namespace

Modules: Constants, WaitReadable, WaitWritable

Constant Summary collapse

SOCK_STREAM =
1
SOCK_DGRAM =
2
SOCK_RAW =
3
SOCK_RDM =
4
SOCK_SEQPACKET =
5
AF_INET =
2
PF_INET =
2
AF_UNIX =
1
PF_UNIX =
1
AF_IPX =
6
PF_IPX =
6
AF_APPLETALK =
16
PF_APPLETALK =
16
AF_UNSPEC =
0
PF_UNSPEC =
0
3
3
AF_PUP =
4
PF_PUP =
4
AF_CHAOS =
5
PF_CHAOS =
5
AF_NS =
6
PF_NS =
6
AF_ISO =
7
PF_ISO =
7
AF_OSI =
7
PF_OSI =
7
AF_ECMA =
8
PF_ECMA =
8
AF_DATAKIT =
9
PF_DATAKIT =
9
AF_CCITT =
10
PF_CCITT =
10
AF_SNA =
11
PF_SNA =
11
AF_DLI =
13
PF_DLI =
13
AF_LAT =
14
PF_LAT =
14
15
15
AF_NETBIOS =
17
AF_ATM =
22
PF_ATM =
22
AF_MAX =
32
PF_MAX =
32
MSG_OOB =
1
MSG_PEEK =
2
MSG_DONTROUTE =
4
SOL_SOCKET =
65535
IPPROTO_IP =
0
IPPROTO_ICMP =
1
IPPROTO_IGMP =
2
IPPROTO_GGP =
3
IPPROTO_TCP =
6
IPPROTO_PUP =
12
IPPROTO_UDP =
17
IPPROTO_IDP =
22
IPPROTO_ND =
77
IPPROTO_RAW =
255
IPPROTO_MAX =
256
IPPORT_RESERVED =
1024
IPPORT_USERRESERVED =
5000
INADDR_ANY =
0
INADDR_BROADCAST =
-1
INADDR_LOOPBACK =
-16777215
INADDR_UNSPEC_GROUP =
-536870912
INADDR_ALLHOSTS_GROUP =
-536870911
INADDR_MAX_LOCAL_GROUP =
-536870657
INADDR_NONE =
-1
IP_OPTIONS =
1
IP_HDRINCL =
9
IP_TOS =
8
IP_TTL =
7
IP_MULTICAST_IF =
2
IP_MULTICAST_TTL =
3
IP_MULTICAST_LOOP =
4
IP_ADD_MEMBERSHIP =
5
IP_DROP_MEMBERSHIP =
6
SO_DEBUG =
1
SO_REUSEADDR =
4
SO_TYPE =
4104
SO_ERROR =
4103
SO_DONTROUTE =
16
SO_BROADCAST =
32
SO_SNDBUF =
4097
SO_RCVBUF =
4098
SO_KEEPALIVE =
8
SO_OOBINLINE =
256
SO_LINGER =
128
SO_RCVLOWAT =
4100
SO_SNDLOWAT =
4099
SO_RCVTIMEO =
4102
SO_SNDTIMEO =
4101
SO_ACCEPTCONN =
2
SO_USELOOPBACK =
64
TCP_NODELAY =
1
EAI_AGAIN =
11002
EAI_BADFLAGS =
10022
EAI_FAIL =
11003
EAI_FAMILY =
10047
EAI_MEMORY =
8
EAI_NODATA =
11004
EAI_NONAME =
11001
EAI_SERVICE =
10109
EAI_SOCKTYPE =
10044
AI_PASSIVE =
1
AI_CANONNAME =
2
AI_NUMERICHOST =
4
NI_MAXHOST =
1025
NI_MAXSERV =
32
NI_NOFQDN =
1
NI_NUMERICHOST =
2
NI_NAMEREQD =
4
NI_NUMERICSERV =
8
NI_DGRAM =
16
SHUT_RD =
0
SHUT_WR =
1
SHUT_RDWR =
2
IPV6_JOIN_GROUP =
12
IPV6_LEAVE_GROUP =
13
IPV6_MULTICAST_HOPS =
10
IPV6_MULTICAST_IF =
9
IPV6_MULTICAST_LOOP =
11
IPV6_UNICAST_HOPS =
4
IPV6_HOPLIMIT =
21
IPV6_PKTINFO =
19
SEEK_SET =
0
SEEK_CUR =
1
SEEK_END =
2
LOCK_SH =
1
LOCK_EX =
2
LOCK_UN =
8
LOCK_NB =
4
RDONLY =
0
WRONLY =
1
RDWR =
2
APPEND =
8
CREAT =
256
EXCL =
1024
NONBLOCK =
4
TRUNC =
512
BINARY =
32768
FNM_NOESCAPE =
1
FNM_PATHNAME =
2
FNM_DOTMATCH =
4
FNM_CASEFOLD =
8
FNM_SYSCASE =
8

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.getaddrinfo(rest) ⇒ Object



327
328
# File 'lib/framework/autocomplete/Socket.rb', line 327

def self.getaddrinfo(rest)
end

.gethostbyaddr(rest) ⇒ Object



321
322
# File 'lib/framework/autocomplete/Socket.rb', line 321

def self.gethostbyaddr(rest)
end

.gethostbyname(req) ⇒ Object



319
320
# File 'lib/framework/autocomplete/Socket.rb', line 319

def self.gethostbyname(req)
end

.gethostnameObject



317
318
# File 'lib/framework/autocomplete/Socket.rb', line 317

def self.gethostname
end

.getnameinfo(rest) ⇒ Object



329
330
# File 'lib/framework/autocomplete/Socket.rb', line 329

def self.getnameinfo(rest)
end

.getservbyname(rest) ⇒ Object



323
324
# File 'lib/framework/autocomplete/Socket.rb', line 323

def self.getservbyname(rest)
end

.getservbyport(rest) ⇒ Object



325
326
# File 'lib/framework/autocomplete/Socket.rb', line 325

def self.getservbyport(rest)
end

.pack_sockaddr_in(req, req1) ⇒ Object



333
334
# File 'lib/framework/autocomplete/Socket.rb', line 333

def self.pack_sockaddr_in(req,req1)
end

.pairObject



315
316
# File 'lib/framework/autocomplete/Socket.rb', line 315

def self.pair
end

.sockaddr_in(req, req1) ⇒ Object



331
332
# File 'lib/framework/autocomplete/Socket.rb', line 331

def self.sockaddr_in(req,req1)
end

.socketpairObject



313
314
# File 'lib/framework/autocomplete/Socket.rb', line 313

def self.socketpair
end

.unpack_sockaddr_in(req) ⇒ Object



335
336
# File 'lib/framework/autocomplete/Socket.rb', line 335

def self.unpack_sockaddr_in(req)
end

Instance Method Details

#acceptObject



345
346
# File 'lib/framework/autocomplete/Socket.rb', line 345

def accept
end

#accept_nonblockObject



347
348
# File 'lib/framework/autocomplete/Socket.rb', line 347

def accept_nonblock
end

#bind(req) ⇒ Object



341
342
# File 'lib/framework/autocomplete/Socket.rb', line 341

def bind(req)
end

#connect(req) ⇒ Object



337
338
# File 'lib/framework/autocomplete/Socket.rb', line 337

def connect(req)
end

#connect_nonblock(req) ⇒ Object



339
340
# File 'lib/framework/autocomplete/Socket.rb', line 339

def connect_nonblock(req)
end

#listen(req) ⇒ Object



343
344
# File 'lib/framework/autocomplete/Socket.rb', line 343

def listen(req)
end

#recvfrom(rest) ⇒ Object



351
352
# File 'lib/framework/autocomplete/Socket.rb', line 351

def recvfrom(rest)
end

#recvfrom_nonblock(rest) ⇒ Object



353
354
# File 'lib/framework/autocomplete/Socket.rb', line 353

def recvfrom_nonblock(rest)
end

#sysacceptObject



349
350
# File 'lib/framework/autocomplete/Socket.rb', line 349

def sysaccept
end