Reputation: 3280
I'm working on a Rails project which requires integration with an outside component. Unfortunately, the only available communication channel is through TCP/IP. Can Rails operate on the TCP/IP layer? If not, is there any good Ruby libraries that I can use to easily integrate back to Rails?
Upvotes: 1
Views: 737
Reputation: 230441
Yes, there's a class in ruby standard library for this: TCPSocket. It has everything you need.
Upvotes: 2