| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private SocketChannel | attemptConnect(ThreadContext context, IRubyObject host, String localHost, int localPort, String remoteHost, int remotePort, RubyHash opts)
|
| pack-priv static RubyClass | |
| public static IRubyObject | |
| public static IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | initialize(ThreadContext context, String remoteHost, int remotePort, IRubyObject host, String localHost, int localPort, RubyHash opts)
|
| public static IRubyObject |
| RubyTCPSocket | back to summary |
|---|---|
| public RubyTCPSocket(Ruby runtime, RubyClass type) | |
| attemptConnect | back to summary |
|---|---|
| private SocketChannel attemptConnect(ThreadContext context, IRubyObject host, String localHost, int localPort, String remoteHost, int remotePort, RubyHash opts) throws IOException | |
| createTCPSocket | back to summary |
|---|---|
| pack-priv static RubyClass createTCPSocket(ThreadContext context, RubyClass IPSocket) | |
| gethostbyname | back to summary |
|---|---|
public static IRubyObject gethostbyname(ThreadContext context, IRubyObject recv, IRubyObject hostname)
| |
| gethostbyname | back to summary |
|---|---|
| public static IRubyObject gethostbyname(IRubyObject recv, IRubyObject hostname)
Deprecated
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject host, IRubyObject port)
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject host, IRubyObject port, IRubyObject localOrOpts)
| |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject[] args)
| |
| initialize | back to summary |
|---|---|
| public IRubyObject initialize(ThreadContext context, String remoteHost, int remotePort, IRubyObject host, String localHost, int localPort, RubyHash opts) | |
| open | back to summary |
|---|---|
| public static IRubyObject open(IRubyObject recv, IRubyObject[] args, Block block)
Deprecated
| |