ServerSocket
classin packageklyn.net
public class ServerSocket implements AutoClosable:
Properties
| Modifier and Type |
Member |
Description |
| public readonly property |
isBound |
Returns true if the socket is currently bound. |
| public readonly property |
localPort |
Local listening port. |
| public readonly property |
localSocketAddress |
Returns the local bound address. |
Constructors
| Modifier and Type |
Member |
Description |
| public |
ServerSocket |
Performs a network operation. |
Methods
| Modifier and Type |
Member |
Description |
| public |
accept |
Accepts one client connection. |
| public |
bind |
Binds and starts listening. |
| public override |
close |
Closes the listening socket. |