C
cverbiest
Guest
I found that the following How to find an available port? technique also works in OpenEdge. define var ServerSocket as handle no-undo. create server-socket ServerSocket. ServerSocket:set-connect-procedure("connHandler", this-procedure). ServerSocket:enable-connections ("-S 0"). will listen on an available port. You can find the port using netstat but I'm looking for a way to find that port from withing the ABL code. Is there a way to get the port from a server-socket ?
Continue reading...
Continue reading...