home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!fstgds15.tu-graz.ac.at!finwds01.tu-graz.ac.at!tom
- From: tom@finwds01.tu-graz.ac.at (Thomas Leitner)
- Newsgroups: comp.os.vms
- Subject: Three problems porting an app. to VMS/UCX.......
- Date: 28 Jan 1993 09:37:22 GMT
- Organization: Technical University Graz, Austria
- Lines: 49
- Distribution: world
- Message-ID: <1k89giINN52l@fstgds15.tu-graz.ac.at>
- NNTP-Posting-Host: finwds01.tu-graz.ac.at
-
- Hello,
-
- I recently ported my socket() based client-server application to
- VMS/UCX and experienced some peculiar things. I got three VAXen
- available for software development (I'm not the system manager,
- though) and my program behaves different on all three VAXen.
- The first two problems however are most likely UCX installation
- problems. Anyway: Here they go:
-
- 1.) On one machine I can't even get a socket from the system,
- although everything else (e.g. TELNET, FTP etc.) works. My
- program aborts with:
-
- %LIB-E-ACTIMAGE, error activating image FEDVZ$DKB200:[SYS0.][SYSLIB]UCX$ACCESS_S
- HR.EXE
- -SYSTEM-W-ACCONFLICT, file access conflict
- %TRACE-E-TRACEBACK, symbolic stack dump follows
- module name routine name line rel PC abs PC
-
- 000437AE 000437AE
- C$SOCKHANDLES init_ucx_socket 2734 00000043 0000AC47
- C$SOCKET vaxc$socket 2914 0000002C 00007530
- CSLIBS csl_startup_server 2006 0000001B 000027C7
- TSERVERS main 1273 0000002F 0000223F
-
- This happens at the first socket call and the call fails. I'm not the system
- manager of this machine but what would he have to change to get this working.
-
- 2.) On one machine, gethostbyname() can not resolve the host name even though
- telnet and ftp work with the same host name.
-
- 3.) Finally on the machine where the above two things work I get another
- peculiar behaviour: After the first client closes the connection, the
- the server shuts down and closes the socket. Then the server startup
- routine is invoked to get a new socket, but the bind() call fails
- with an
-
- #define EADDRINUSE 48 /* Address already in use */
-
- error. When I restart the server I get the same error. If I wait for
- 5 seconds or so and restart the server, it runs again.
-
- What am I doing wrong? The program worked under Ultrix and SunOS
- without problems!!
-
- I hope that these questions are not FAQs and appreciate if someone with
- any ideas or hints could drop me some lines.
-
- Thanks and regards from Austria -- Tom Leitner, Technical University Graz
-