Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!otis.apana.org.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!lll-winken.llnl.gov!uwm.edu!spool.mu.edu!howland.reston.ans.net!news.sprintlink.net!news.channel1.com!news1.channel1.com!tick From: mcgovern@spoon.beta.com (Brian McGovern) Newsgroups: comp.os.386bsd.questions Subject: problems with datagram sockets. Date: Thu, 05 Jan 95 16:33:12 GMT Organization: Channel 1 Communications Lines: 12 Distribution: world Message-ID: <3eh992$oic@news1.channel1.com> NNTP-Posting-Host: 199.165.180.34 X-Newsreader: News Xpress Version 1.0 Beta #2 Ok, guys. Heres a tricky one for you. I'm doing some socket programming, and I'm having a problem with it receiving sockets. I have two network interfaces to my machine, ppp0, and ed0. ppp0 is configured as 199.165.180.1 netmask 255.255.255.224. ed0 is configured 199.165.180.33 netmask 255.255.255.224. ppp0 is called spoon.beta.com, ed0 spoonx.beta.com. Now, when I set the socket up to receive, I set the sin_addr.s_addr = INADDR_ANY. When I send a packet to spoonx (ed0), or to "localhost", the daragram makes it ok. When I send it to spoon (ppp0), the packet never makes it. I've tried this on a machine with two ethernet interfaces (ed0 and ed1) with no problems. The question then becomes, is there a problem with the ppp interface for datagrams? Or just my PC? -Brian