�������: ������ (���� | �����������) ��RU opennet.me  
The OpenNET Project / Index page

[ ������� /+++ | ����� | ���� | ]

������� ������������ / ������ "������������ ��� Linux" / ���������� ���������
next up previous contents index
Next: ������� recv Up: ������ � �������� Previous: ������� connect   Contents   Index

������� send

������� ������ ��� ������ ������ � �����.

��������:

int send(int s, char * buf, int len, int flags);

������ �������� - �����-����������, � ������� ������������ ������. ������ � ������ ��������� - ��������������, ����� � ����� ������ � ������������� �������. ��������� �������� - ��� ���������� ������� ������, ����������� �������� ������. ���� �������� flags ����� ����, �� ������ � ����� (�, ��������������, ���������� ) ���������� � ������� ����������� ������. ���� �������� flags ���� MSG_OOB, �� ������������ ������ ���������� ����������� ��� �������.

������� ���������� ����� ���������� � ����� ������ ( � ���������� ������ ������ ���� ����� �������� ��������� len ) ��� -1 � ������ ������. �������, ��� ������ � ����� �� ��������, ��� ������ ������� �� ������ ����� ���������� ���������-������������. ��� ����� �������-����������� ������ ��������� ������� recv ( ��. ���� ). ����� �������, ������� ������ � ������ � ����� ����������� ����������.



Alex Otwagin 2002-12-16



������:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
�������:

�������� �� �����
���������� �� ���������
Created 1996-2026 by Maxim Chirkov
��������, ����������, ����������