--- a/Socket.st Wed Sep 09 21:20:37 1998 +0200
+++ b/Socket.st Mon Sep 14 15:44:25 1998 +0200
@@ -390,6 +390,16 @@
* (although specified in the man-page,
* a check on TRY_AGAIN fails on iris)
*/
+#ifdef LINUX
+
+# define GETHOSTBYNAME(hp, name) \
+ hp = gethostbyname((char *) name);
+
+# define GETHOSTBYADDR(hp, addr, alen, af) \
+ hp = gethostbyaddr(addr, alen, af);
+
+#else
+
#ifdef IRIX5_3
# define GETHOSTBYNAME(hp, name) \
do { \
@@ -4129,5 +4139,5 @@
!Socket class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.109 1998-08-01 21:40:47 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic2/Socket.st,v 1.110 1998-09-14 13:44:25 cg Exp $'
! !