EcsTasY писал(а):
как с помощью serverex отправить строку сразу всем клиентам
#sha
Add(MainForm,2953706,119,77)
{
link(onCreate,11437205:##open,[(224,97)(224,125)])
}
Add(TCP_ServerEx,11437205,245,119)
{
ServerPort=534
link(onSendToAll,7473021:doValue,[])
}
BEGIN_SDK
Add(EditMultiEx,14296838,21,21)
{
WorkCount=#6:##open|8:##select|6:doSend|
EventCount=#11:onSendToAll|
VarCount=#7:##count|
Width=174
Height=151
Point(##select)
Point(##count)
link(doSend,2556202:doSend,[(49,41)(49,76)])
}
Add(TCP_Connection,2556202,70,63)
{
link(onRead,14296838:onSendToAll,[(117,69)(117,27)])
}
END_SDK
Add(For,13845081,77,182)
{
IncludeEnd=1
link(onEvent,7495292:doEvent1,[])
link(End,11437205:##count,[(90,172)(251,172)])
}
Add(Hub,7495292,126,182)
{
link(onEvent1,11437205:##select,[(224,188)(224,132)])
link(onEvent2,2451782:doData,[(170,195)(170,139)])
}
Add(Memory,7473021,301,119)
{
link(onData,13845081:doFor,[(345,125)(345,226)(65,226)(65,188)])
}
Add(DoData,2451782,182,133)
{
link(onEventData,11437205:doSend,[])
link(Data,7473021:Value,[(188,113)(291,113)(291,163)(307,163)])
}