Bryan
Bryan

Reputation: 3280

Does Rails support TCP/IP level operations?

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

Answers (1)

Sergio Tulentsev
Sergio Tulentsev

Reputation: 230441

Yes, there's a class in ruby standard library for this: TCPSocket. It has everything you need.

Upvotes: 2

Related Questions