DS80C400 Maxim, DS80C400 Datasheet - Page 78

no-image

DS80C400

Manufacturer Part Number
DS80C400
Description
The DS80C400 network microcontroller offers the highest integration available in an 8051 device
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS80C400
Manufacturer:
DALLAS
Quantity:
748
Part Number:
DS80C400-FNY
Manufacturer:
DALLAS
Quantity:
85
Part Number:
DS80C400-FNY
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C400-FNY+
Manufacturer:
TDK-Lambda
Quantity:
34
Part Number:
DS80C400-FNY+
Manufacturer:
Maxim
Quantity:
3 861
Part Number:
DS80C400-FNY+
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
DS80C400-FNY+
Manufacturer:
MAXI/DALLAS
Quantity:
20 000
TCP/IP Stack and Berkeley Sockets
The ROM firmware implements TCP/IP Ethernet networking over an industry-standard/Berkeley socket interface.
The stack supports TCP and UDP transport protocols, allowing a maximum of 24 client/server sockets for either
IPv4 or IPv6.
of each socket function are contained in the High-Speed Microcontroller User’s Guide: Network Microcontroller
Supplement.
Figure 19
supports multicasting, ICMP echo request (“ping”), DHCP client, and TFTP client. It does not, however, allow IP
packet fragmentation or reassembly, and it ignores the extended IP options field. The IPv6 implementation
supports ICMP and the TFTP client protocols.
Table 19. Socket Functions
Figure 19. Typical TCP/UDP Sockets
socket
closesocket
sendto
recvfrom
connect
bind
listen
accept
recv
send
getsockopt
setsockopt
getsockname
getpeername
cleanup
avail
join
leave
ping
setnetworkparams
getnetworkparams
getipv6params
getethernetstatus
gettftpserver
settftpserver
FUNCTION
listen (max. 16)
illustrates the typical sequences for using TCP/UDP client/server sockets. The IPv4 implementation
accept
Table 19
Server
TCP
avail, send, recv
Creates the specified TCP or UDP network socket
Closes the specified socket
Sends a UDP datagram to the specified address
Receives a UDP datagram
Connects a TCP socket to the specified address
Binds a socket to the specified address, port
Listens for connections on the specified socket
Accepts a TCP connection on the specified socket
Reads data from the specified TCP socket connection
Sends data to the specified TCP socket connection
Gets options for the specified socket
Sets options for the specified socket
Gets current local address for the specified socket
Gets current remote address for the specified TCP socket
Closes all sockets associated with the specified task ID
Returns the number of bytes available for reading on the specified TCP socket
Adds the specified UDP socket to a specified multicast group
Removes the specified UDP socket from a specified multicast group
Sends ICMP echo request to the specified address
Sets the IPv4 address and configuration parameters
Gets the IPv4 address and configuration parameters
Gets the IPv6 address
Gets the status of the Ethernet link
Gets the IP address of the TFTP server
Sets the IP address of the TFTP server
lists the socket functions implemented and accessible in the ROM firmware. The full details
bind, getsockopt, setsockopt (optional)
Client
connect
TCP
closesocket
socket
DESCRIPTION
78 of 97
Unicast
UDP
sendto, recvfrom
Multicast
UDP
leave
join

Related parts for DS80C400