- int send ( int socket , char
* msg , int len , int flags);
- socket -- socket number from socket()
call
msg -- pointer to buffer containing
data to send
len -- length of data in bytes
flags -- used to modify behavior of
call
returns -- bytes actually sent
- int recv ( int socket , char
* msg , int len , int flags
);
- socket -- socket number from socket()
call
msg -- buffer to store received data in
len -- length of buffer in bytes
flags -- used to modify behavior of
call
returns -- zero on success