Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
socket problem
Gabriel_Lopez
I'm trying to create a socket with this code:----------socket sockString serverString portInteger portNumBoolean connsock = socket.create()server = $Kernel.SystemPreferences.GetPrefGeneral('server')port = $Kernel.SystemPreferences.GetPrefGeneral( 'port' )portNum = Str.StringToValue(port)conn = socket.connect(sock, host, portNum)------------------And "conn" returns 'TRUE'The problem I get is that my Builder hangs.What is the problem?Is the socket right?You can see I'm not used to work with these sockets and things like. Any help or advice is welcome.Thanks everybody in advance.
Find more posts tagged with
Comments
eLink User
Message from Dylan Wright via eLinkWhy are you getting the Livelink Server port from the systempreferences? I would guess the system is hanging because livelink isconnecting back to itself... Try connecting on a port you specify, like80 ( HTTP )dylan-----Original Message-----From: eLink Discussion: Development Discussion[mailto:development@elinkkc.opentext.com] Sent: Thursday, November 15, 2001 9:42 AMTo: eLink RecipientSubject: socket problemsocket problemPosted by CentrisaUser3 on 11/15/2001 12:41 PMI'm trying to create a socket with this code:----------socket sockString serverString portInteger portNumBoolean connsock = socket.create()server = $Kernel.SystemPreferences.GetPrefGeneral('server')port = $Kernel.SystemPreferences.GetPrefGeneral( 'port' ) portNum =Str.StringToValue(port) conn = socket.connect(sock, host, portNum)------------------And "conn" returns 'TRUE'The problem I get is that my Builder hangs.What is the problem?Is the socket right?You can see I'm not used to work with these sockets and things like. Anyhelp or advice is welcome.Thanks everybody in advance.[To reply to this thread, use your normal e-mail reply function.]============================================================Discussion: Development Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe