Xiqual 0.9.1

In file xinet/net_read.c:

void* net_read

(int sock)

Read an incoming xinet package.


Read an incoming xinet package. A new buffer is allocated to hold an entire message conforming to the xipacket structure. On little-endian platforms, the header data is converted to local format.

The buffer must be freed after use.

sock - Socket filedescriptor to read from
A pointer to the buffer
See Also:
xipacket, net_writeh(), write()

Alphabetic index

This page was generated with the help of DOC++.