Dallas Semiconductor DS80C400 C Libraries Home Page

Main Page | Modules | Data Structures | Directories | 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 reserved to deal with the TNI native interface overhead.


Data Fields

unsigned char reserved [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 short 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 2005 Dallas Semiconductor, Inc.. Documentation generated by Doxygen.