diff --git a/plugins/include/sockets.inc b/plugins/include/sockets.inc index edf5da7c..fc58662e 100755 --- a/plugins/include/sockets.inc +++ b/plugins/include/sockets.inc @@ -46,6 +46,10 @@ native socket_recv(_socket, _data[], _length); native socket_send(_socket, _data[], _length); +/* Same as socket_send but Data can contain null bytes */ + +native socket_send2(_socket, _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 µSeconds, (1 sec =1000000 µsec). * Use to check if new data is in your socket. */