158 Commits

Author SHA1 Message Date
Danny Sung 68ec325aa8 Updated podspec for 2.0.1 (#203)
* Updated podspec

* Update README for minimum toolchain versions
2021-06-28 10:41:10 -07:00
Danny Sung 4dd6c81f28 travis: update CI environments (#202)
* travis: update CI environments
* Add BlueSocketTestCommonLibrary, BlueSocketTestClient, BlueSocketTestServer
- Add a library component to make it easier to do tests and profiling under streaming loads (multiple client connections, lots of data, etc.)

* Removed Swift 4.x, bumped minimum swift version requirement to 5.1
* keep build at Swift 5.0; update CI to only test from 5.1.5 on up
* Only attempt to build command-line for Swift 5.2+
* Ensure tools and dependencies only build for Swift 5.2+
* Address various lint errors
* Update README with version details and latest iOS related issues
2021-06-16 22:18:24 -07:00
Alex Taffe 7cedc53a63 Remove IBM references from README (#196) 2020-10-29 20:27:25 -07:00
Yassine Imounachen aecc8a201c an connection -> a connection 2020-04-24 18:02:16 +00:00
Bill Abt ceef887103 Update the README example to correct a data race condition. 2019-01-09 09:49:38 -05:00
Bill Abt d95bb3790a Documented new parameter on the TCP version of the listen API. 2018-12-13 11:01:32 -05:00
Bill Abt 7c9b9b42fe Updated README to included latest compiler recommendations. 2018-10-26 09:53:34 -04:00
Helen Masters 5c649b5b26 Removed Kitura icon and fixed API link 2018-08-01 13:17:39 +01:00
Helen Masters 4192026804 Standardize README
* Add community and license sections
 * Add standard README header including Kitura icon
2018-08-01 12:38:03 +01:00
Bill Abt 7061bd13ed Added prerequisite that the libssl-dev package is required to be installed when building on Linux if using the BlueSSLService add-in. 2018-07-26 10:45:26 -04:00
Bill Abt 15c6d58149 Update the Package.swift file for the example. 2018-06-25 17:06:26 -04:00
Bill Abt e7a6166ba6 Minor update. 2018-06-25 16:59:33 -04:00
Kye Maloy 3b23c72b0d Added new builds for 4.2 2018-06-20 11:55:10 +01:00
Ian Partridge 27dea65e21 Update to Swift 4.1 2018-04-16 12:30:22 +01:00
Bill Abt a122f319ce Update README.md for version 1.0. 2018-02-27 09:32:29 -05:00
Bill Abt c8c1a1e9c1 Throw an exception if connect is called on a non-blocking socket without a timeout being passed. Updated documentation to reflect this. 2018-02-13 11:22:34 -05:00
Bill Abt 6d576c9f0e Clarify use of the isReadableOrWritable() function when attempting to write to a newly connected socket. 2018-01-16 09:42:02 -05:00
Bill Abt f2c821aad2 Minor edits to README.md to correct confusion in example program. 2017-11-03 10:22:48 -04:00
Bill Abt 814b73bcdc Corrected some outdated instructions in the README.md as a result of issue #96. Also corrected some minor typos. 2017-10-26 10:01:26 -04:00
Bill Abt 49b6b3c9dc Update documentation for listen() API to include new optional parameter that allows the caller to decide whether to reuse the listening port or not. 2017-10-12 10:29:16 -04:00
Bill Abt 1c04ec4025 Update README to include support for Swift 4. 2017-09-28 14:24:53 -04:00
Bill Abt a985882a9f Posix/BSD/Darwin sockets are not supported by watchOS on native devices. Therefore, removed package/compilation support for that platform. 2017-09-21 10:54:24 -04:00
Bill Abt 540535e0c4 Update README to include documentation for new parameter for acceptClientConnection and new API, invokeDelegateOnAccept. 2017-09-14 11:08:48 -04:00
Bill Abt 6ce3c43a1e Added missing ".git" to SPM package dependency example. 2017-08-08 15:39:03 -04:00
Bill Abt aa1fb2746d Fixed a couple of typos in the new connect documentation. 2017-08-06 10:21:51 -04:00
Bill Abt fb0cf0afeb Update documentation for connect API. 2017-08-06 10:10:48 -04:00
Bill Abt a1c5ce815e Update documentation to add new parameters to connect API. 2017-08-05 11:05:07 -04:00
Bill Abt 82f2bd7779 Added documentation for new udpBroadcast() API. 2017-08-03 11:56:00 -04:00
Bill Abt 271a7b7292 Updated README.md and project files to support the latest beta of Swift 4 and Xcode 9. 2017-06-06 11:09:36 -04:00
Bill Abt 143677623b Updated the requirements and recommendations. Now recommending Swift 3.1.1 and Xcode 8.3.2. No code changes. This is strictly a documentation update. 2017-05-04 13:07:09 -04:00
Bill Abt ec5e04f4a7 Updated the requirements and recommendations. Now recommending Swift 3.1 and Xcode 8.3.1. No code changes. This is strictly a documentation update. 2017-04-09 13:11:46 -04:00
Bill Abt 0986c40a4d Port check range for connect should've been 1-65535 not 1024-65535.. 2017-03-27 12:53:28 -04:00
Bill Abt c9ff50a4fa Validate the port values passed to connect(to:port:) function and ensure they fall within the proper range. 2017-03-27 12:44:34 -04:00
Bill Abt 5a73d4fb9a Removed obsolete instructions for incorporating Dispatch in a Swift toolchain from README.md. Added CocoaPod usage instructions to README.md. Added podspec to project to ease maintenance. Bumped podspec to v0.12.36. 2017-03-17 17:48:06 -04:00
Bill Abt 755d03812e Added two new functions that allow the setting of a read and write timeout respectively. 2017-03-16 11:52:47 -04:00
Bill Abt e8096601cc Lifted restriction of requiring on macOS and Linux for usage of BlueSSLService. Changes to the latest iOS SDK now allow BlueSSLService to be used on iOS, tvOS and watchOS. 2017-02-16 19:18:03 -05:00
Bill Abt fcdcb479fa Added documentation for how to set the read buffer size. 2017-02-04 12:41:05 -05:00
Karl Weinmeister 7491f1c0ea Update README.md
Minor updates to declare iOS support, and to provide more details on usage with Swift Package Manager and Carthage.
2016-12-15 20:10:01 -06:00
Bill Abt 3689832fd1 Update to swift-3.0.2-RELEASE toolchain. 2016-12-14 10:26:39 -05:00
Bill Abt 0087fe96c5 Some final UDP cleanup including removal of the truncate parameter from the readDatagram API. Changed the signature of the Signature initializer to include the protocol family, so that you can create both IPv4 and IPv6 signatures. Added additional comments and documentation to the tests. 2016-12-08 10:45:55 -05:00
Frederick Kellison-Linn 9d3e7d4a93 Fix merge conflicts 2016-12-07 17:42:56 -05:00
Bill Abt 428644886d Updated documentation for the truncate parameter of the readDatagram(into buffer: UnsafeMutablePointer<CChar>, bufSize: Int, truncate: Bool = true) API to explain its purpose. 2016-12-07 17:13:12 -05:00
Frederick Kellison-Linn 0eec49efe8 Update documentation 2016-12-07 16:27:48 -05:00
Bill Abt 9adddc5f87 Move the convenience function to create an Address given a host and port to the Socket class level as a utility function and renamed it createAddress. Made the necessary changes to the test suite and turned on ALL UDP tests. 2016-12-06 16:46:16 -05:00
Bill Abt 14e1503acd Added documentation for the new UDP support. Miscellaneous minor changes. 2016-12-06 13:25:57 -05:00
Bill Abt 0442154224 Fixed minor typo. 2016-11-29 10:22:31 -05:00
Bill Abt 8c5adb1ef6 Added UNIX domain socket support. Added additional tests to cover the new support. Added new error code, SOCKET_ERR_CONNECTION_RESET, to indicate that socket read failed due the connection being reset by the peer. 2016-11-29 10:17:47 -05:00
Bill Abt d97739b9cd Update Travis build badge. Was using the wrong one. 2016-11-19 11:52:07 -05:00
Bill Abt 209c581f5c Update documentation. Also added timeout parameter to isReadableOrWritable function. 2016-11-16 14:41:51 -05:00
Bill Abt b7a0807ce8 Update to the latest (11/11) toolchain. 2016-11-12 15:47:09 -05:00