Created
November 9, 2012 15:02
-
-
Save DanielUranga/4046183 to your computer and use it in GitHub Desktop.
Conexion tcp con Ginga 2.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event.register(function(evt) | |
if (not evt.error==nil) then | |
print(evt.type .. " -> " .. evt.error) | |
else | |
print(evt.type) | |
end | |
return false | |
end ) | |
event.post( {class='tcp', type='connect', host='www.google.com', port=8080} ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment