Article View: comp.sys.sun
Article #6833Novice question on TLI interface of SunOS 4.1
From: Uwe Stoehr
Date: Wed, 13 Feb 1991 22:03
Date: Wed, 13 Feb 1991 22:03
19 lines
1371 bytes
1371 bytes
Being a beginner in programming with TLI on SunOS 4.1 I have encountered a basic question: How do I assign a transport address to a transport endpoint, which has been created using t_open. What kind of address is used by the TCP transport provider (device: /dev/tcp)? If I try to assign a simple integer value (as described in the Sun Manual) or an internet address (with and without port number!) in form of a string or in form of an integer value as a transport address to an endpoint, the t_bind or t_connect procedures fail! The error statements from t_error are: - "incorrect address format" (use of t_bind) - "address family not supported by protocol family" (use of t_connect) Thanx for any hints ! Uwe Stoehr University of Dortmund, Institute of Robotics Research, FRG
Technical Details
Message-ID:
<1640@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: stoehr@irf.uucp (Uwe Stoehr) Newsgroups: comp.sys.sun Subject: Novice question on TLI interface of SunOS 4.1 Keywords: Miscellaneous Message-ID: <1640@brchh104.bnr.ca> Date: 13 Feb 91 22:03:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 19 Approved: Sun-Spots@rice.edu X-Original-Date: 7 Feb 91 16:25:05 GMT X-Sun-Spots-Digest: Volume 10, Issue 39, message 6 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu