home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!hamp.hampshire.edu!dhirmes
- From: dhirmes@hamp.hampshire.edu
- Newsgroups: comp.unix.questions
- Date: 17 Jul 92 20:57 MDT
- Subject: recvfrom() problems
- Sender: Notesfile to Usenet Gateway <notes@glas.apc.org>
- Message-ID: <1992Jul17.125731.1@hamp.hampshir>
- Nf-ID: #N:1992Jul17.125731.1@hamp.hampshir:-2006760086:001:660
- Nf-From: hamp.hampshire.edu!dhirmes Jul 17 20:57:00 1992
- Lines: 16
-
-
- I'm writing a program using BSD socket interface. I'm trying to
- utilize the UDP (datagram) service, but when I run my programs, I
- get a "Bad Address" error. I've tried several examples from tutorials,
- but I get the same error. I'm working with SunOS 4.0.1 and some of
- the examples were written for Ultrix. I was told there might be slight
- differences in the TCP/IP structures used by BSD implementations. I'vewritten
- programs usinSOCK_STREAM which have worked fine, which adds to my
- confusion. Oh, and the error only occurs when I attempt a recvfrom(),
- it appears to work when I use sendto().
-
- Can anyone help me out here?
-
- dhirmes@hamp.hampshire.edu
-
-
-