xbp

This forum is for eXpress++ general support.
Post Reply
Message
Author
omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

xbp

#1 Post by omni »

Been using this since 2006, but all of a sudden as of this week its erroring out.


oSock := xbSocket():New(AF_INET, SOCK_STREAM, IPPROTO_TCP)

if oSock:ErrorCode > 0
MsgBox("Unable to create a socket!" + chr(10) +;
"Error code: " + NTrim(oSock:ErrorCode) + " (" + oSock:ErrorText(oSock:ErrorCode) + ")" )
oSock:destroy()
select 50
use
Return
endif

if ! oSock:Connect(cHost, nPort)
//gets an error here on the osock:connect


-> VALTYPE: N VALUE: 1549847
oError:description : Parameter has a wrong value
oError:filename :
oError:genCode : 1
oError:operation : w2Bin
CALLSTACK:
Called from __SOCKADDRENCODE(1835)
Called from XBSOCKET:CONNECT(2417)


No idea what the value is or what w2bin is, or why it would do this Monday.
We believe it may be the site url connection, but we only have that one still using that method.

No idea how to test it elsewhere(?)
'That same value comes up regardless of what server we are on, at the users site or ours.

Update: I think it is the outgoing port no longer being open. Works on 80, but then the web site declines. They had a hacker and made
some hardware changes the prior week.


Fred
Omni

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: xbp

#2 Post by Wolfgang Ciriack »

You need to update your xb2net version.
_______________________
Best Regards
Wolfgang

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: xbp

#3 Post by omni »

How did you know that? Worked for years and all of a sudden it gives that weird error.

Updated to the 2021 version (from 2016) and it worked. Must have been some new security on their server. no clue

Thanks..wish it had been free


Fred
Omni

User avatar
Tom
Posts: 1165
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: xbp

#4 Post by Tom »

Look here: http://news.xb2.net/ng.php?art_group=xb ... le_id=2437

This is a bug which was in there all the time, but it showed up with a Windows Update.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

Post Reply