Network.UDP.Socket.send() This page was last modified over 30 day(s) ago and has 1 comment(s)


Back to Network.UDP.Socket Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Network.UDP.Socket.send(remoteIPAddress:String, remotePortNumber:Number, messageText:String):Void

Parameters
remoteIPAddress:String - Remote ID address

remotePortNumber:Number - Remote port

messageText:String - Text data to send

Returns
Nothing

Description
Sends the specified message to the specified port on the specified IP address.

Notes
None

Example Code
mdm.Network.UDP.Socket.send("127.0.0.1", 4000, "Hello myself!");

mdm.Network.UDP.Socket Class Example Downloads
No Example Downloads Available


User Comment by derekcfoley on 4th November 2008 - 14:57
I've read that a "server" needs to be started in order for this command to work. If so, as the server is incoming only, does the port chosen affect this commands ability to transmit on port 4000?

Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page