David Kettlewell
New Member
Can anyone help me with using sockets in the Progress 9.1 4GL?
I need to connect to a server process on another computer. That I can do with a dll supplied by the makers of the server if I know the server address. (Socket number of server can be set). My difficulty is to locate the IP address in a DHCP environment - ie, the IP address can change from day to day.
Instructions for locating a running server go like this:
Open a UDP socket.
Broadcast this string "1" to port 52256
and each server will reply with it's location.
Obviously someone knows how to do it in some language as I have seen it work. But how?
I need to connect to a server process on another computer. That I can do with a dll supplied by the makers of the server if I know the server address. (Socket number of server can be set). My difficulty is to locate the IP address in a DHCP environment - ie, the IP address can change from day to day.
Instructions for locating a running server go like this:
Open a UDP socket.
Broadcast this string "1" to port 52256
and each server will reply with it's location.
Obviously someone knows how to do it in some language as I have seen it work. But how?