libsimpleioTCP4_receive Method |
Receive bytes from TCP peer.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static void TCP4_receive(
int fd,
byte[] buf,
int bufsize,
out int count,
out int error
)
Parameters
- fd Int32
- File descriptor.
- buf Byte
- Destination buffer.
- bufsize Int32
- Destination buffer size.
- count Int32
- Number of bytes actually received.
- error Int32
- Error code. Zero upon success or an errno
value upon failure.
See Also