|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.net.Socket
public class Socket
An RCX version of Socket that connects to TCP/IP ports via a proxy called SocketProxy running on the PC. It uses the josx.rcxcomm package.
| Constructor Summary | |
|---|---|
Socket(String host,
int port)
Connects to a Socket via the proxy on the PC. |
|
| Method Summary | |
|---|---|
InputStream |
getInputStream()
Returns an input stream for this Socket. |
OutputStream |
getOutputStream()
Returns an output stream for this Socket. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
| Constructor Detail |
|---|
public Socket(String host,
int port)
throws IOException
host - the host to connect toport - the port to connect to
IOException| Method Detail |
|---|
public InputStream getInputStream()
public OutputStream getOutputStream()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||