Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- port=22131
- make.socket(host = "localhost", port, fail = TRUE, server = TRUE)
- # Connect to server
- s <- socketConnection('localhost', port=port)
- # ...then send data...
- writeLines(c('foo', 'bar'), s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement