Have a question regarding Open Object REXX under Ubuntu 16.04. I wrote
the following quick and dirty script:
#!/usr/bin/rexx
/* REXX */
If RxFuncQuery('SockDropFuncs') Then
Do
Call RxFuncAdd 'SockLoadFuncs', 'rxsock', 'SockLoadFuncs'
Call SockLoadFuncs
End
Say SockGetHostId()
Call SockDropFuncs
Exit
I expected it to return 192.168.1.154, which is my IPv4 address on my
home LAN. It works under Windows7, but when I try to run it under
Ubuntu it always returns 127.0.1.1
What am I doing wrong?
--
Jaime A. Cruz
President
Nassau Wings Motorcycle Club
http://www.nassauwings.org/
AMA District 34
http://www.AMADistrict34.com/
Freddy's Run
http://www.freddysrun.org/
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)