Created
January 21, 2011 23:41
-
-
Save miloshadzic/790656 to your computer and use it in GitHub Desktop.
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
TCPSocket.new | |
- requires a hostname and a port as arguments | |
- refuses the connection when there is no server to connect to (FAILED - 1) | |
- connects to a listening server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment