Back ported revision 3242 - Every include file now is const correct (am49281)

This commit is contained in:
Steve Dudenhoeffer
2007-01-26 05:56:10 +00:00
parent 8341e41f04
commit dd8f138892
21 changed files with 102 additions and 103 deletions

View File

@ -39,7 +39,7 @@
* 3 - couldn't connect to given hostname:port
*/
native socket_open(_hostname[], _port, _protocol = SOCKET_TCP, &_error);
native socket_open(const _hostname[], _port, _protocol = SOCKET_TCP, &_error);
/* Closes a Socket */
@ -51,11 +51,11 @@ native socket_recv(_socket, _data[], _length);
/* Sends data to the Socket */
native socket_send(_socket, _data[], _length);
native socket_send(_socket, const _data[], _length);
/* Same as socket_send but Data can contain null bytes */
native socket_send2(_socket, _data[], _length);
native socket_send2(_socket, const _data[], _length);
/* This function will return true if the state (buffer content) have changed within the last recieve or
* the timeout, where timeout is a value in <20>Seconds, (1 sec =1000000 <20>sec).