Article View: comp.sys.sun
Article #12417NIT sockets: how do you write to 'em?
From: Jeff Stearns
Date: Wed, 03 May 1989 07:24
Date: Wed, 03 May 1989 07:24
19 lines
1339 bytes
1339 bytes
I'm running SunOS 4.0.1. I'm playing with NIT sockets, trying to speak a
foreign protocol (Apple EtherTalk).
I have no trouble reading my packets off the wire, but I can't figure how
to *send* packets. The NIT socket keeps refusing my sendto() with
errno=ENOTSOCK.
Does anybody have an example of how to send data out via a nit stream socket?
P.S. Yes, I know that it works under SunOS 3.x; my problems began with the
change to Streams. I've also tried raw sockets, but can't seem to create
one suffieiently low-level that I can specify *all* the bits including the
type/length field.
Jeff Stearns John Fluke Mfg. Co, Inc. (206) 356-5064
jeff@tc.fluke.COM {uw-beaver,microsoft,sun}!fluke!jeff
PS - Calling all users of the Vitalink TransLAN IV Ethernet bridge! Please
drop me a line.
Technical Details
Message-ID:
<7875@fluke.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-request From: jeff@tc.fluke.com (Jeff Stearns) Newsgroups: comp.sys.sun Subject: NIT sockets: how do you write to 'em? Keywords: Networks Message-ID: <7875@fluke.COM> Date: 3 May 89 07:24:51 GMT Sender: usenet@rice.edu Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 19 Approved: Sun-Spots@rice.edu Original-Date: 21 Apr 89 08:27:43 GMT X-Sun-Spots-Digest: Volume 7, Issue 262, message 7 of 14