public class TCPexampleSimple
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TCPexampleSimple.ServiceForClient |
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
bRun |
(package private) java.net.Socket |
s2 |
(package private) java.net.InetAddress |
serverAddr |
(package private) byte[] |
serverAddrBytes |
(package private) java.net.ServerSocket |
serverSo |
Constructor and Description |
---|
TCPexampleSimple() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
(package private) void |
openAndAccept() |