PDA

View Full Version : Flexera Publisher Socket Connection Error -7



amnesty
09-26-2014, 04:41 AM
Hello,

i tried with the Flexera example „lmflex.cpp" to checkout a license of a currently running server with publisher licenses on it.
With a similar Setup and the Java API i can checkout all of the available licenses on the server.

But if i try to connect with c++ i get a socket error code -7 all the time.

The Source code i use is attached to this thread.
I included all the neccesarily header files and the list of following libraries.

header:

lm_attr
lm_trl
lmclient
lmhostid
version_info
version_hotfix
version_dependent

library

libsb.lib
libcrvs.lib
lmgr.lib
lmgras.lib
lmgrs.lib
lmgr_dongle_stub.lib
libnoact.lib
wsock32.lib
libcmt.lib
oldnames.lib
netapi32.lib
comctl32.lib
Ws2_32.lib
Wbemuuid.lib
lm_new.obj

Can anyone support me what i am doing wrong?

Kind regards.