Вниз
Скачать: CL | DM;

pereslat record cheres UDP indy 10   Найти похожие ветки 

← →
Bailey ©   (2005-03-11 22:10) [0]

kak peresla svoj recod s UDPclient

sendbuffer beret tolko Tbytes (array of byte)

setlength(dummy, sizeof(SomeRecord));
move(SomeRecord, dummy, sizeof(dummy));

esli evo snova raspakovivaju v UDPServeronRead

move(adata, mojRecordm sizeof(MojRecord));

mojRecord pustoj, schto ja delaju ne tak..!? objasnite kak moschno poslat record cheres UDP v indy 10...


← →
Digitman ©   (2005-03-12 13:34) [1]


> sendbuffer beret tolko Tbytes (array of byte)


что за бред ? ГДЕ это написано в документации ?


← →
Bailey ©   (2005-03-12 15:32) [2]

procedure SendBuffer(AHost: string, const APort: Integer, const ABuffer: TIdBytes);

problemma immeno v  tom schtobi sasunut Record v Tbytes, i poluchit evo ot tuda obratno posle peresilki...


← →
Eraser ©   (2005-03-12 22:35) [3]

SetLength


← →
NoLatvijas   (2005-03-29 23:50) [4]

For time being forget INDY 10.x, the UDP server component is mucked up there, go back to 9.0.18 and everything works. Including a much much better help file.



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.037 c
1-1118017641
dp200
2005-06-06 04:27
2005.06.29
OpenDialog , открытие нескольких файлов


6-1112459975
Muh
2005-04-02 20:39
2005.06.29
Трабла с чатом


3-1116249702
juice
2005-05-16 17:21
2005.06.29
Создатель базы


3-1116325523
Mortal
2005-05-17 14:25
2005.06.29
ADO: Проблема с Datetime


4-1114344510
Максим
2005-04-24 16:08
2005.06.29
USB on/off




   Наверх