Platforms to show: All Mac Windows Linux Cross-Platform

/Network/DarwinPing Test sync
Function:
Required plugins for this example: MBS Network Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Network/DarwinPing Test sync
This example is the version from Sun, 17th Mar 2012.
Project "DarwinPing Test sync.xojo_binary_project"
FileTypes
Filetype text
End FileTypes
Class Window1 Inherits Window
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control EditField1 Inherits TextField
ControlInstance EditField1 Inherits TextField
End Control
Control ListBox1 Inherits Listbox
ControlInstance ListBox1 Inherits Listbox
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() dim p as DarwinPingMBS dim d as date p=new DarwinPingMBS d=new date ListBox1.AddRow "Start: "+d.LongTime ListBox1.AddRow "Ping result: "+str(p.Ping(EditField1.text,5000,255)) d=new date ListBox1.AddRow "Start: "+d.LongTime End EventHandler
End Control
Control StaticText2 Inherits Label
ControlInstance StaticText2 Inherits Label
End Control
End Class
MenuBar MenuBar1
MenuItem UntitledMenu1 = ""
MenuItem FileMenu = "&File"
MenuItem FileQuit = "Quit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem UntitledMenu0 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

The items on this page are in the following plugins: MBS Network Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...