Re: UDP + фрагментация
От: NavuhodonosoR Россия  
Дата: 27.01.03 13:31
Оценка:
Здравствуйте, old->*Plutonia_Experiment(), Вы писали:

O>Клиент шлет серверу большой UDP-пакет — около 10000 байт.

Я "сильно неуверен", что клиенту это удастся:

MSDN: send() The send function is used to write outgoing data on a connected socket. For message-oriented sockets, care must be taken not to exceed the maximum packet size of the underlying provider, which can be obtained by using getsockopt to retrieve the value of socket option SO_MAX_MSG_SIZE. If the data is too long to pass atomically through the underlying protocol, the error WSAEMSGSIZE is returned, and no data is transmitted.

Где-то фигурировала цифра 1440 байт, но точных источников не скажу.

Остальное поскипано
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.