diff --git a/socket.inc b/socket.inc index 69223f6..3af0c72 100644 --- a/socket.inc +++ b/socket.inc @@ -347,7 +347,7 @@ methodmap Socket < Handle { * * @return 1 on success */ - public static int GetHostName(char[] dest, int destLen); + public static native int GetHostName(char[] dest, int destLen); /** * Returns whether a socket is connected or not.