MDK-ARM Keil, MDK-ARM Datasheet - Page 106
![KIT REALVIEW MCU DEVELOPMENT](/photos/9/32/93274/mdk-arm_sml.jpg)
MDK-ARM
Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Specifications of MDK-ARM
For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 106 of 156
- Download datasheet (3Mb)
106
The tcp_get_state() function will return the current state of a socket. The
possible socket states are shown below:
On the first call, tcp_get_state() will report that the socket is closed. In this case,
we can open the socket for use and connect to a remote IP and port address.
if (TCPState == TCP_STATE_CLOSED)
}
Unlike UDP, we cannot simply prepare a packet of data and send it. Each TCP
frame is acknowledged by the remote station, so RL-TCPnet must hold each
frame in memory until it is acknowledged. If no acknowledgement arrives, then
the frame data must be available for re-sending. This requires careful
management. Obviously if we send lots of TCP frames, all of the
microcontroller RAM will be used up by TCP data waiting for an
acknowledgement. Before we can send a new frame, we must call
tcp_check_send(). This function ensures that the TCP connection is valid and
that the socket is not waiting for an earlier packet to be acknowledged.
If the socket is free, we can allocate a TCP data buffer and send a new packet in a
similar fashion to the UDP packets.
if (tcp_check_send (socket_tcp) == __TRUE)
}
tcp_connect (socket_tcp, Rem_IP, PORT_NUM, 0);
sendbuf = tcp_get_buf (SENDLEN);
tcp_send (socket_tcp, sendbuf, SENDLEN);
{
{
Chapter 4. RL-TCPnet Introduction
Related parts for MDK-ARM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MDK-ARM-B](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-B-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM-B
Manufacturer:
Keil Software
![MDK-ARM-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM
Manufacturer:
Keil Software
![MDK-ARM-BASIC](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-UF](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM UPG TO FLOATING LIC
Manufacturer:
Keil Tools
![MDK-ARM-F](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM W/ FLOATING LICENSE
Manufacturer:
Keil Software
![MDK-ARM3.1](/photos/26/86/268691/landingpagekeilrealviewarmkit_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM uVISION & C++ & RTX
Manufacturer:
Keil Tools
![MDK-ARM-SMB](/images/no-image3.png)
Part Number:
Description:
Development Software SUPP LICENSE RENEWAL 90+ DAYS NO TECH SUP
Manufacturer:
Keil Software
![KEIL-PK51-INTL](/images/manufacturer_photos/0/6/609/silicon_laboratories_inc_tmb.jpg)
Part Number:
Description:
KEIL C-COMPILER INTERNATIONAL
Manufacturer:
Silicon Laboratories Inc
![OM10045](/photos/9/21/92162/om10045_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR LPC213X ARM MCU
Manufacturer:
NXP Semiconductors
Datasheet:
![TWR-K60N512-KEIL](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
K60N512 Keil Tower Kit
Manufacturer:
Freescale Semiconductor
Datasheet: