int NC_connect_send (unsigned char *buffer, int lenght, int *write_lenght)

Send a byte stream to remote socket

Documentation

Send a byte stream to remote socket. Uses send_to() -function to send stream of bytes over TCP connection to server. Implements non-blocking send using select() system call.
Returns:
0 on success, negative on failure
Parameters:
buffer - Buffer holding the bytes to send
lenght - Number of bytes to send.
write_lenght - Actual number of bytes sent.
Author:
Mikko Varso
Version:
1.0

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de