From 2ebf822dea1b824872d526540019e7415c3f2baa Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Mon, 5 Dec 2005 01:49:16 +0000 Subject: [PATCH] added new socket send native --- plugins/include/sockets.inc | 4 ++++ 1 file changed, 4 insertions(+) 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. */