Question on UDP under BSD UNIX.

Scott W. Rogers (
Tue, 18 Oct 88 12:51:40 edt

Here's an interesting question for you UNIX TCP/IP Folks,

    Refering to the recvfrom() functions in the 4.2/4.3 socket

    When an application receives a UDP packet, the SENDERS address is
    located in the sock_add_in structure passed in the recvfrom()
    call. Is there any way for an application to get the DESTINATION
    address. I.E. I would like to know if this UDP packet was directed
    to me, or the broadcast address.

    If the answer is no, is there any way of filtering out one or the
    other (i.e. receive only broadcasts or don't receive broadcasts).

You can respond to tcp-ip or directly to me "". I
will post a summary.

Scott W. Rogers Computer Sciences Corporation - Systems Division
AT&T: (703) 876-1363 3160 Fairview Park Dr. - Falls Church, VA 22152
Fax: (703) 876-4072 Internet: scottr@csc-lons.ARPA

This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:43:56 GMT