swiftsocket / SwiftSocket

The easy way to use sockets on Apple platforms
BSD 3-Clause "New" or "Revised" License
1.68k stars 400 forks source link

Can IP address be used? #178

Closed bbabbitt closed 5 years ago

bbabbitt commented 5 years ago

I want to read data (non-HTTP)from a TCP server. Can I use the IP address instead of the URL? I suspect I can from what I have read in the comments, but I would like confirmation before wasting time on code that won't work.

JaredTHarden commented 5 years ago

Yes, IP address along with port will work.

bbabbitt commented 5 years ago

Works great, thanks.