Salad
1.0.15
|
Functions | |
SLD_SSINT | sld_network_connect (char *host, SLD_USINT port) |
Connects to a destination host on the specified port. More... | |
SLD_SSINT | sld_network_disconnect () |
Terminates a connection. More... | |
SLD_ULINT | sld_network_receive () |
Receives data from a network connection. More... | |
SLD_ULINT | sld_network_send (char *packet) |
Sends data to a destination host. More... | |
Implement sld_network functionality!
This module contains functions related to networking.
Connects to a destination host on the specified port.
host | the destination hostname |
port | the destination port number |
SLD_SSINT sld_network_disconnect | ( | ) |
SLD_ULINT sld_network_receive | ( | ) |
Receives data from a network connection.
SLD_ULINT sld_network_send | ( | char * | packet | ) |
Sends data to a destination host.
packet | bytes to send |