|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.dctl.j2me.net.TCPServer
This wraps up all the TCP server specific socket methods
| Constructor Summary | |
TCPServer()
|
|
| Method Summary | |
static int |
accept(int handle)
Accept an incoming connection |
static void |
bind(int handle,
int address,
int port)
Bind the socket to a port and address |
static void |
listen(int handle)
Listen for incoming connections |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TCPServer()
| Method Detail |
public static void bind(int handle,
int address,
int port)
throws IOException
handle - The handleaddress - The address of the interface to bind toport - The port to bind to
IOException - if there is an error
public static void listen(int handle)
throws IOException
handle - The handle
IOException - if there is an error
public static int accept(int handle)
throws IOException
handle - The handle
IOException - if there is an error
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||