generated from Comet/Comet-C-External-Lib
-
Initial Release Stable
released this
2026-07-10 11:54:35 +10:00 | 2 commits to main since this releaseThe socket lib provides the following:
- Family and Type enums for sockets
- Socket struct with the following methods:
- connect(
stringip, int port) ->void - bind(
stringip, int port) ->void - listen(
intbacklog) ->void - accept() ->
Socket - read(
intbytes) ->String - readAll() ->
String - readExact(
intbytes) ->String - readByte() ->
small - send(
stringbuffer) ->void - sendByte(
smallbyte) ->void - close() ->
void - setBlocking(
boolblocking) ->void - setTimeout(
inttimeoutMs) ->void - setNoDelay(
boolnoDelay) ->void - setReuseAddress(
boolreuseAddress) ->void - setKeepAlive(
boolkeepAlive) ->void - available() ->
int - waitReadable(
inttimeoutMs) ->bool - waitWriteable(
inttimeoutMs) ->bool
- connect(
Downloads