Dallas Semiconductor DS80C400 C Libraries Home Page

Main Page   Data Structures   File List   Data Fields   Globals  

sockaddr_in Struct Reference

#include <rom400_sock.h>


Detailed Description

Alternate structure for an IP address. For a normal, IPv4 (4 byte) address, set the address in sin_addr.s_addr, and set sin_zero to all 0's. Notice the 3 byte bogus_ptr to deal with the TNI native interface overhead.


Data Fields

unsigned char bogus_ptr [3]
 Overhead for TNI native interface.

unsigned char sin_zero [12]
 Zeroes in IP address due to IPv6 support.

in_addr sin_addr
 IPv4 address structure.

unsigned int sin_port
 16 bit port number for the socket.

unsigned char sin_family
 Ignored by DS80C400 implementation.


The documentation for this struct was generated from the following file:
Copyright 2004 Dallas Semiconductor, Inc.. Documentation generated by Doxygen.