====== netSend ====== ''u8 netSend(u8 socketNum, u8* buffer, u16 length)'' |socketNum : The socket number (0~3) | |buffer : The location of the data to send | |length : The number of bytes to send | |Returns 1 if successful, 0 otherwise | Sends length bytes of data in buffer out socket, socketNum. This function is especially useful for sending binary data. A connection must be established (SOCK_ESTABLILSHED) to send data. u8 data[] = "Comfile"; netSend(0, data, 7); [[moacon:network_sample_program:index|Network sample program]] [[MOACON:index#System_Library:|go MOACON home]]