A language built for fun
This project is maintained by cometlang
TCPUDPRAWUNIXIPv4IPv6NETLINKSocket(SOCKET_TYPE, ADDRESS_FAMILY)
open(SOCKET_TYPE, ADDRESS_FAMILY)close() Closes the socketbind(address, port) binds the socket to an address and port. address is a string-based representation of the address. The format must match the address family specified when creating the socket.accept() accepts incoming connections, returning a new Socket for each successful connectionlisten(queue_length) marks the socket as listening, ready to accept incoming connections.connect(address, port) make an outbound connection to a specific endpointread() returns a String of any values readwrite(string) writes a String to the socket