summary refs log tree commit diff stats
path: root/lib/pure/net.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken asyncnet module.Dominik Picheta2016-06-031-1/+1
|
* Modified #3472 to make its API more idiomatic.Dominik Picheta2016-06-031-28/+52
|
* Merge branch 'tls-psk' of https://github.com/zielmicha/nim into ↵Dominik Picheta2016-06-031-3/+99
|\ | | | | | | zielmicha-tls-psk
| * net.nim: destroyContext for destroying SSLContextMichał Zieliński2015-10-241-1/+7
| |
| * net.nim: support for TLS-PSK ciphersuitesMichał Zieliński2015-10-241-13/+89
| |
| * net.nim: support storing arbitrary data inside SSLContextMichał Zieliński2015-10-241-0/+14
| |
* | documentation build cleaned upAndreas Rumpf2016-05-311-10/+13
| |
* | Merge branch 'unix-sockets' of https://github.com/girvo/Nim into ↵Dominik Picheta2016-05-301-2/+26
|\ \ | | | | | | | | | girvo-unix-sockets
| * | Adding nimdoc comments as per PR commentsJosh Girvin2016-05-301-1/+3
| | | | | | | | | | | | As per @dom96 code review comments in PR #3488
| * | net.nim: add support for Unix socketsMichał Zieliński2015-10-281-1/+23
| |/
* | Merge pull request #3648 from FedericoCeratto/reuse_portAndreas Rumpf2016-05-291-1/+2
|\ \ | | | | | | Add SO_REUSEPORT support
| * | Add SO_REUSEPORT supportFederico Ceratto2015-12-161-1/+2
| |/
* | Fix deprecation warning in net module.Dominik Picheta2016-04-041-0/+2
| |
* | Fixes small mistake in ``net`` module.Dominik Picheta2016-04-041-1/+1
| |
* | Improved asyncnet docs (SSL procs now shown). Deprecated handshake.Dominik Picheta2016-04-041-1/+4
| |
* | Improve net and ssl module docs.Dominik Picheta2016-04-041-20/+77
| |
* | net: disable SSLv3Peter Cai2016-04-031-2/+2
| | | | | | | | | | SSLv3 is no longer secure and has been removed from OpenSSL since 1.0.2. Disabling this will enable Nim programs to run against OpenSSL 1.0.2.
* | Define ports as uint16s to fix #3484Josep Sanjuas2016-03-271-1/+1
| |
* | the stdlib supports &= in more contexts; refs #3524Andreas Rumpf2016-03-051-0/+4
| |
* | SpellcheckFederico Ceratto2016-02-291-1/+1
| |
* | Merge pull request #3781 from rgv151/patch-net-gc-safeAndreas Rumpf2016-02-061-94/+95
|\ \ | | | | | | [net/httpclient] make it gc-safe #2692
| * | export `parseIpAddress` procBruce Doan2016-01-271-1/+1
| | |
| * | make it gc-safe #2692Bruce Doan2016-01-261-93/+94
| | |
* | | fixes #3789Andreas Rumpf2016-01-311-1/+1
|/ /
* / Fixed deprecation warnings while Nim compiles.Hans Raaf2016-01-181-1/+1
|/ | | | | I just removed unsigned and changed a writeLn() call to writeLine() to avoid the remaining deprecation warnings.
* Rename rawsockets module to nativesocketsAdam Strzelecki2015-10-031-4/+4
| | | | | | | | | | This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code.
* raise with error messageAman Gupta2015-09-231-1/+1
|
* disable SSLv2Aman Gupta2015-09-231-4/+1
|
* avoid referencing undefined SSLv2_method on mac osxAman Gupta2015-09-221-1/+1
|
* Implements getPeerAddr/getPeerName on Windows and adds IDX.Dominik Picheta2015-09-151-2/+6
|
* Provide access to getsockname()/getpeername().Reimer Behrends2015-09-141-0/+8
| | | | | | This patch implements procedures getLocalAddr() and getPeerAddr() that return the results of getsockname() and getpeername(), respectively, as pairs (string, Port) for both Socket and SockedHandle.
* Use raiseOSError with additionalInfo parameter from develSloane Simmons2015-07-041-6/+4
|
* Fixes socket problems on Windows and normalises some names.Dominik Picheta2015-06-291-14/+23
| | | | Ref #2976. Ref #2003. See news.txt for details.
* Adjustments to #2610.Dominik Picheta2015-06-221-4/+5
|
* Merge branch 'starttls' of https://github.com/wiml/Nim into wiml-starttlsDominik Picheta2015-06-221-53/+80
|\ | | | | | | | | Conflicts: lib/pure/net.nim
| * Make the post-connection wrapSocket() call available in both the synchronous ↵Wim Lewis2015-04-261-1/+28
| | | | | | | | and asynchrinous net modules.
* | Merge branch 'exportnewsocket' of https://github.com/boopcat/Nim into ↵Dominik Picheta2015-06-051-3/+3
|\ \ | | | | | | | | | | | | | | | | | | boopcat-exportnewsocket Conflicts: lib/pure/asyncnet.nim
| * | Export newSocket(fd) from net.nim and standardize args in net/asyncnetboopcat2015-05-301-3/+3
| | | | | | | | | | | | | | | | | | | | | Exporting newSocket(fd) mimics what asyncnet does and lets you pass in your own socket FD. newSocket*(fd) and newAsyncSocket*(fd) now both take "buffered" instead of "isBuff" and defaults to true to match the other constructors on both.
* | | lib/pure/e-o - Dropped 'T' from typespdw2015-06-041-19/+20
|/ /
* / Fixed 'milliseconds' spelling in code and docspdw2015-05-151-5/+5
|/
* Remvoe the visibility on these, given their forward declarations alreadyNathan Hoad2015-03-081-2/+2
| | | | specify it.
* isIpAddress doesn't have any effects, so fix it up to clean up connect.Nathan Hoad2015-03-081-2/+2
|
* Make IP address checking more obvious, and add tests for the net module.Nathan Hoad2015-03-071-3/+13
|
* Add SNI support to client and server sockets.Nathan Hoad2015-03-071-15/+24
|
* Add SSLFree after SLShutdown to prevent memory leakwiffel2015-02-241-0/+2
|
* Remove pointless winlean import in net module.Dominik Picheta2015-02-211-3/+0
|
* Update net.nim - fix #2193Varriount2015-02-211-2/+5
| | | Fixes number #2193 and resolves some ambiguity issues
* Sockets now save a copy of osLastError to work around #2191.Dominik Picheta2015-02-211-4/+22
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|