EZ800000100STS Zilog, EZ800000100STS Datasheet - Page 35

no-image

EZ800000100STS

Manufacturer Part Number
EZ800000100STS
Description
SOFTWARE TCP/IP SOURCE CODE
Manufacturer
Zilog
Type
Protocol Stackr
Datasheets

Specifications of EZ800000100STS

Tool Type
Programming Software
Core Architecture
Z8
For Use With/related Products
eZ80 Acclaim! MCU
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
getpeername
RM004012-0707
Note:
Include
Prototype
Description
Argument(s)
Return Value(s)
The
nected to the socket
identified by name. The
on a connected socket. For datagram sockets, only the name of a
peer specified in a previous connect call is returned—any name
specified by a previous
#include <socket.h>
int getpeername
(
);
The sockets’
which a socket is connected.
If no error occurs,
s
name
namelen A pointer to the size of the name structure.
short
struct
int
getpeername
A descriptor identifying a connected socket.
The structure that receives the name of the peer.
getpeername
getpeername
function retrieves the name of the peer con-
s
and stores it in the
sendto
getpeername
s,
sockaddr * name,
* namelen
function retrieves the name of the peer to
call is returned by
returns 0; otherwise, it returns -1.
function can be used only
sockaddr
Zilog TCP/IP Stack API
getpeername
Reference Manual
structure
ZTP API Reference
.
27

Related parts for EZ800000100STS