* [ECOS] UDP on EDB7211
@ 2000-07-04 7:52 Nick Barnes
2000-07-04 9:00 ` Hugo Tyson
0 siblings, 1 reply; 2+ messages in thread
From: Nick Barnes @ 2000-07-04 7:52 UTC (permalink / raw)
To: ecos-discuss
Has anyone had any success using UDP in the beta TCP/IP stack?
connect() is OK but then sendto() always fails. Has anyone had any
success with these?
This is for DNS.
Nick B
--
FreeBSD 2.2.8-RELEASE: up 2 days, 20:34
Last reboot due to lightning strike.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] UDP on EDB7211
2000-07-04 7:52 [ECOS] UDP on EDB7211 Nick Barnes
@ 2000-07-04 9:00 ` Hugo Tyson
0 siblings, 0 replies; 2+ messages in thread
From: Hugo Tyson @ 2000-07-04 9:00 UTC (permalink / raw)
To: ecos-discuss
Nick Barnes <Nick.Barnes@pobox.com> writes:
> Has anyone had any success using UDP in the beta TCP/IP stack?
> connect() is OK but then sendto() always fails. Has anyone had any
> success with these?
Hi Nick,
AIUI, the SNMP server uses UDP (ie. SOCK_DGRAM as opposed to SOCK_STREAM),
and that's all cool. But it doesn't use connect(), it uses a global
listener via bind(), if that's the right words. Ditto the tftp_client,
that binds to a specific address rather than broadcast. So it works more
than somewhat.
Connect's man page sez that in the UDP case, it only selects a peer to
connect to rather than a socket - UDP being connectionless - might that be
a source of confusion? I guess that means you *must* sendto() the same
peer you connect()ed to?
Anyway, we've used UDP a lot with bind() but not with connect().
HTH,
- Huge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-04 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-04 7:52 [ECOS] UDP on EDB7211 Nick Barnes
2000-07-04 9:00 ` Hugo Tyson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).