Home AMX User Forum AMX Technical Discussion

socket connection error (errno 22)

Hi all,
i´m facing this error message when trying to connect with a third party device (videoconference):

IPSocketManConnectTask - errno = 22 (errno = 0x16) addr:192.168.1.112:0

This error comes after trying a connection. Code:

ip_client_open(dvVidConf.PORT,acIpVidConf,nPuertoVidConf,IP_TCP)

Note: nPuertoVidConf is 55003

Anyone knows what this error means? Is there any file to get a "human readable" error message inspite of the error code?

Thanks!!

Comments

  • viningvining Posts: 4,368
    Your Ip:Port shows your trying to open a socket on port 0 ? Maybe the var that holds the port number isn't initialized yet when ip_client_open is called.
  • MorgoZMorgoZ Posts: 116
    Yip,

    So obvious... It was in front of my eyes... sorry for the stupid post...

    And thanks!!! ;)
Sign In or Register to comment.