Operating System - OpenVMS
1827894 Members
1546 Online
109969 Solutions
New Discussion

$qio socket fails to connect

 
Darryl Henley
New Member

$qio socket fails to connect

I have a C program that uses sockets to connect to a server and it works. The problem is that C sockets do not allow async functions. So, I am attempting to rewrite the program using $qio sockets. I got the example from sys$examples UCX$TCP_CLIENT_QIO.C and I get this error when the program trys to connect the socket:
%SYSTEM-F-REJECT, connect to network object rejected

vers:
DIGITAL TCP/IP Services for OpenVMS VAX Version V4.2
on a VAX 4000-600A running OpenVMS V6.2
2 REPLIES 2
Darryl Henley
New Member

Re: $qio socket fails to connect

Never mind, I figured it out.

The example don't work. If you want an example of what will work, let me know.
Vouters
Advisor

Re: $qio socket fails to connect

Hi Daryl,

Have a look at the following example, if it can helps you !
http://h18000.www1.hp.com/support/asktima/communications/009E9CF1-C62D69C0-1C0186.html
Regards,
Philippe