|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmoss.net.MSocket
public class MSocket
this class provides the various socket mechanisms required of MOSS
| Field Summary | |
|---|---|
static int |
PF_INET
internet/IP based sockets |
static int |
PF_UNIX
unix domain sockets |
static int |
SOCK_DGRAM
packet-based UDP socket |
static int |
SOCK_STREAM
stream-based TCP sockets |
| Constructor Summary | |
|---|---|
MSocket()
|
|
| Method Summary | |
|---|---|
static int |
make_endpoint(MFile handle,
int domain,
int type)
creates a new socket endpoint. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PF_INET
public static final int PF_UNIX
public static final int SOCK_STREAM
public static final int SOCK_DGRAM
| Constructor Detail |
|---|
public MSocket()
| Method Detail |
|---|
public static int make_endpoint(MFile handle,
int domain,
int type)
handle - file-handle that will be associated with the socket endpointdomain - domain of this socket (PF_...)type - type of this socket (SOCK_...)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||