Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: N100CCH0@TWNITRI1.BITNET Newsgroups: comp.sys.sun Subject: Some info of sendto(), recvfrom() Keywords: Networks Message-ID: <10235@brazos.Rice.edu> Date: 25 Jul 90 09:31:00 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 15 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 270, message 6 Originator: spots@titan.rice.edu We have SunLink OSI installed in our SPARC station 1. We use OSI sock_dgram system interface to CLNS. The program I wrote is following page 115, 116 in chapter 6 - the OSI sock_dgram system interface in the SunLink OSI programmer's Guide. The program works fine. The problem occured when I tried to replace sendmsg() by sendto(), replace recvmsg() by recvfrom() in the same program. The error message is "unreachable network". I really appreciate if anyone can tell me how to use sendto and recvfrom in this program. Thanks in advance.