Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Data transfer with connection-oriented communications

&pagelevel(4)&pagelevel

Data can be transferred as soon as a connection is set up. If the communications endpoints of both communication partners are hard-bound with each other via the addressing-pair, a user task can send and receive messages without having to specify the addressing-pair every time.

There are several functions for sending and receiving data:

recv(s, buf, sizeof buf, flags);
send(s, buf, sizeof buf, flags);
soc_read(s, buf, sizeof buf);
soc_write(s, buf, sizeof buf);
soc_readv(s, iov, iovcnt);
soc_writev(s, iov, iovcnt);
recvmsg(s, msg, flags);
sendmsg(s, msg, flags);

The socket functions are described in detail in the section “Description of functions”.