DS80C411 Maxim, DS80C411 Datasheet - Page 84

no-image

DS80C411

Manufacturer Part Number
DS80C411
Description
The DS80C410/DS80C411 network microcontrollers offer the highest integration available in an 8051 device
Manufacturer
Maxim
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS80C411-FNY+
Manufacturer:
TYCO
Quantity:
40 000
Part Number:
DS80C411-FNY+
Manufacturer:
Maxim Integrated
Quantity:
10 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 20
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 17. Socket Functions
Figure 20. 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 17
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
84 of 102
Unicast
UDP
sendto, recvfrom
Multicast
UDP
leave
join

Related parts for DS80C411