I am new to this forum and I'm a very beginnger to swift.
I have to realize a simple, very simple application wich permit to calculate the CRC16 sum of a string (modbus).
I have both code from python and C++ to do that, but I don't know how to convert it for swift. I repeat it: I am new to swift, I'm learning it, but I need that code shortly.
Not really anything nice to use in the stdlib. There's always what you get with BSD sockets, but it doesn't have a nice Swift interface. But there's nice projects like Vapor's Engine that offers socket types. There's also NIO if you want to actually build a web framework.
Right now I think your best option for TCP networking is Foundation’s Stream type. It’s relatively Swift friendly — certainly a lot better than BSD Sockets — and avoids the need for an external dependency.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = "eskimo" + "1" + "@apple.com"
— WWDC runs Mon, 4 Jun through to Fri, 8 Jun. During that time all
of DTS will be at the conference, helping folks out face-to-face.