Add(UDP,10711677,483,371)
{
LocalPort=3434
RemotePort=3435
LocalIP="127.0.0.1"
RemoteIP="127.0.0.1"
AutoConnect=0
BroadCast=0
Point(onError)
}
Add(UDP,14155054,483,427)
{
LocalPort=3435
RemotePort=3434
LocalIP="127.0.0.1"
RemoteIP="127.0.0.1"
AutoConnect=0
BroadCast=0
Point(onError)
link(onReceive,13325829:doDeCompress,[(548,433)(548,440)])
}
Add(Hub,1191191,420,231)
{
OutCount=3
link(onEvent1,10711677:doOpen,[(458,237)(458,377)])
link(onEvent2,14155054:doOpen,[(458,244)(458,433)])
link(onEvent3,2100422:doTimer,[(446,251)(446,177)(359,177)(359,104)])
}
Add(ScreenShort,9116219,420,104)
{
link(onCapture,4814477:doResize,[])
}
Add(Resize,4814477,462,104)
{
Width=400
Height=400
HalfTone=1
link(onResult,1448185:doEvent1,[(520,110)(520,111)])
}
Add(MainForm,16567777,378,217)
{
Width=639
Height=495
link(onCreate,1191191:doEvent1,[])
}
Add(Hub,1448185,546,105)
{
OutCount=3
link(onEvent1,15561524:doClear,[(584,111)(584,34)])
link(onEvent2,6485638:doWrite,[(595,118)(595,97)])
link(onEvent3,3661983:doConvert,[])
}
Add(MemoryStream,15561524,609,21)
{
}
Add(StreamConvertor,3661983,644,119)
{
link(onResult,15537523:doPack,[])
link(Data,5231647:Var3,[(650,69)])
}
Add(BitmapStream,6485638,609,84)
{
link(Stream,5231647:Var2,[])
}
Add(GetDataEx,5231647,609,64)
{
link(Data,15561524:Stream,[])
}
Add(StreamPack,15537523,693,119)
{
DataCount=#3:png|
link(onPack,8267564:doCompress,[])
}
Add(Timer,2100422,371,98)
{
Interval=30
Enable=1
link(onTimer,9116219:doCapture,[(411,104)(411,110)])
}
Add(ZLIB,8267564,735,119)
{
link(onStream,10711677:doSend,[(779,125)(779,255)(471,255)(471,384)])
}
Add(BitmapStream,3259937,770,427)
{
link(onRead,5934760:doLoad,[])
}
Add(StreamConvertor,3847167,721,427)
{
Mode=1
link(onResult,3259937:doRead,[])
}
Add(StreamUnPack,15265595,623,427)
{
DataCount=#3:png|
link(onUnPack,10538202:doData,[])
}
Add(DoData,10538202,679,427)
{
link(onEventData,3847167:doConvert,[])
link(Data,15265595:png,[(685,415)(657,415)(657,471)(629,471)])
}
Add(ZLIB,13325829,581,427)
{
link(onStream,15265595:doUnPack,[])
}
Add(Image,5934760,826,427)
{
Top=15
Width=500
Height=289
Align=5
ModeSp=3
ViewStyle=1
Point(Handle)
Point(onPaint)
Point(Width)
Point(Height)
Point(onMouseEnter)
Point(onMouseLeave)
Point(onMouseDown)
}
Ответов: 253
Рейтинг: 0
|
|||
Вычитал что лучше передачу осуществлять через UDP. Но не понимаю чего не получаться то.
|
|||
карма: 0 |
|