Commit Graph
309 Commits
Author SHA1 Message Date
Frederick Kellison-Linn 9d3e7d4a93 Fix merge conflicts 2016-12-07 17:42:56 -05:00
Bill Abt 528386de13 Fixed function signature for Socket.createAddress. 2016-12-07 17:16:13 -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
Bill Abt 6cf4ac1fc2 Cherry-picked some changes from otherwise rejected PR37. Improved some internal documentation. 2016-12-07 17:03:41 -05:00
Frederick Kellison-Linn 0eec49efe8 Update documentation 2016-12-07 16:27:48 -05:00
Frederick Kellison-Linn a7e12b47be Add Linux workaround 2016-12-07 16:14:17 -05:00
Frederick Kellison-Linn 8de2652377 Enable testTruncateTCP 2016-12-07 15:00:05 -05:00
Frederick Kellison-Linn a88f7b560b Fix issue with Linux tests 2016-12-07 14:57:58 -05:00
Frederick Kellison-Linn f3d9511fb8 Fix issue with Linux build 2016-12-07 14:54:53 -05:00
Frederick Kellison-Linn 6e617b3e69 Add ability to truncate TCP responses 2016-12-07 14:51:15 -05:00
Bill Abt 01700985d2 Merge pull request #38 from Jumhyn/truncate
Add option to trucnate UDP messages (default true)
2016-12-07 13:19:29 -05:00
Frederick Kellison-Linn 9b2212968a Add option to trucnate UDP messages (default true)
Add documentation

Add tests

QUIT UDP server when test finishes
2016-12-07 12:02:20 -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. 0.12.11 2016-12-06 16:46:16 -05:00
Bill Abt d82a3595a9 Merge pull request #36 from Jumhyn/master
Add tests and helper functions for testing UDP read/write
2016-12-06 15:52:36 -05:00
Frederick Kellison-Linn d2e3e489c6 Add UDP tests 2016-12-06 15:38:48 -05:00
Bill Abt 32270f4812 Turn on UDP support. 0.12.10 2016-12-06 13:30:35 -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 b052368c9f Final code for UDP support. Still not enabled yet pending testing and documentation. 2016-12-06 12:03:51 -05:00
Bill Abt c754c71bee Merge pull request #35 from Jumhyn/stubs
Update UDP write stubs and correct typos
2016-12-06 07:55:43 -05:00
Frederick Kellison-Linn 40aa623f92 Update UDP write stubs and correct typos
Update UDP write stubs and correct typos
2016-12-06 01:25:25 -05:00
Bill Abt 806384d14b Added more UDP tests. Still disabled. 2016-12-05 18:55:46 -05:00
Bill Abt 0f7fb43923 Ensure proper socket type and protocol combinations. 2016-12-05 18:38:36 -05:00
Bill Abt 42a17655f9 Changes to the signature of the read UDP functions. 2016-12-05 16:40:39 -05:00
Bill Abt d62e6df702 More UDP infrastructure changes. Added (disabled at this time) initial UDP tests. 2016-12-05 16:04:07 -05:00
Bill Abt 99b1929853 Minor changes to UDP stub functions. 2016-12-05 15:10:33 -05:00
Bill Abt b2dd8fdc66 Added more UDP infrastructure. 2016-12-05 15:07:42 -05:00
Bill Abt 33ead17cb6 Updated infrastructure for UDP support. Changed function signatures of some stub UDP functions. 0.12.9 2016-12-05 10:48:04 -05:00
Bill Abt 0a5a622ce7 Merge pull request #33 from Jumhyn/private
Move private initializer under proper heading
2016-12-04 23:16:27 -05:00
Frederick Kellison-Linn e29c995bfd Move private method to proper location 2016-12-04 22:25:13 -05:00
Bill Abt 2cc9d1aa59 Update to 3.0.1 0.12.8 2016-12-03 01:33:14 -05:00
Bill Abt dd5785d7d1 The wait for the serverHelper to come down has to be inside the do/catch. 0.12.7 2016-12-03 01:03:15 -05:00
Bill Abt aea013c9ce Merge pull request #32 from BDHernand/master
Remove submodule
0.12.6
2016-12-02 18:11:00 -05:00
Bill Abt 24c8529972 Merge pull request #31 from Jumhyn/usetabs
Change project settings so that indentation uses tabs
2016-12-02 18:10:47 -05:00
Bill Abt b9c14a922f For tests that use the serverHelper, have to wait for the serverHelper to come up before starting the test and then at the end of the test, wait for it to come down prior to exiting the test. 2016-12-02 18:04:20 -05:00
Brian Hernandez 7889046d9f Remove submodule 2016-12-02 10:02:56 -06:00
Bill Abt 78752613a2 Added new computed property, isSecure, to Socket. This resolves the optional Signature property and returns whether or not the socket is secured. 0.12.5 2016-11-30 12:36:54 -05:00
Frederick Kellison-Linn 38e7c85e48 Change project settings so that indentation uses tabs independent of editor settings 2016-11-29 14:05:43 -05:00
Bill Abt 199f40b499 Connection reset by peer can happen on a write to a socket as well as a read. 0.12.4 2016-11-29 10:49:12 -05:00
Bill Abt 0442154224 Fixed minor typo. 0.12.3 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. 0.12.2 2016-11-19 11:52:07 -05:00
Bill Abt 209c581f5c Update documentation. Also added timeout parameter to isReadableOrWritable function. 0.12.1 2016-11-16 14:41:51 -05:00
Bill Abt cd34b6ed76 Handle SSL requested retry attempts for read and write functions. 0.12.00 2016-11-16 12:00:03 -05:00
Bill Abt b7a0807ce8 Update to the latest (11/11) toolchain. 0.11.40 2016-11-12 15:47:09 -05:00
Bill Abt 6df5d06b94 Rollback to last 14.04 working toolchain. 2016-11-12 15:45:05 -05:00
Bill Abt b8ab81103f Update to latest (11/11) toolchain. 2016-11-12 15:32:38 -05:00
Bill Abt e8155cb855 Merge branch 'master' of github.com:IBM-Swift/BlueSocket 2016-11-12 15:14:44 -05:00
Bill Abt 5177f0fa65 Indicate support iOS where appropriate. 2016-11-12 15:13:56 -05:00
Bill Abt d518ef1069 Merge pull request #27 from tfrank64/master
Updated example Package.swift code in README
2016-11-10 16:37:42 -05:00
Taylor Franklin abac768746 Readme update of example Package.swift 2016-11-10 11:43:43 -06:00