summary refs log tree commit diff stats
path: root/lib/pure/net.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fixed minor bugs; cleaned up testsAraq2015-02-121-2/+7
|
* fixes the integer conversion regressionsAraq2015-01-131-3/+3
|
* make net.nim compile again (quick workaround for a regression)Araq2015-01-131-3/+3
|
* Merge pull request #1889 from ramnes/develAndreas Rumpf2015-01-071-1/+1
|\ | | | | Happy new year!
| * Happy new year!Guillaume Gelin2015-01-061-1/+1
| |
* | minor cleanupsAraq2015-01-071-1/+1
|/
* Fixes #1745.Dominik Picheta2014-12-261-16/+17
|
* ensure file descriptor is closedWill Szumski2014-12-181-13/+15
|
* realised extra parameter was unnecessaryWill Szumski2014-12-171-13/+7
|
* improved error msgs and refactored close in the net moduleWill Szumski2014-12-171-8/+32
|
* Fix some deprecation warnings caused by renamesdef2014-11-131-14/+14
|
* Implement SO_REUSEADDR for asyncnet and asynchttpserver.Dominik Picheta2014-11-071-1/+2
|
* docgen works on linuxAraq2014-10-271-2/+2
|
* Adds socket creation for arbitrary domain, type and protocol.Dominik Picheta2014-09-181-0/+9
|
* NimFix on net and rawsockets modules.Dominik Picheta2014-09-131-4/+4
|
* Fix net module on Linux.Dominik Picheta2014-08-311-1/+1
|
* Async SSL support.Dominik Picheta2014-08-311-7/+8
|
* Fixes SSL case sensitive issues.Dominik Picheta2014-08-301-30/+30
|
* Case sensitivity fixes for Posix.Dominik Picheta2014-08-301-1/+1
|
* Case fixes for network modules.Dominik Picheta2014-08-301-18/+20
|
* big renameAraq2014-08-281-3/+3
|
* big renameAraq2014-08-281-101/+101
|
* big renameAraq2014-08-271-19/+25
|
* Export `==` from net module for TPort.Dominik Picheta2014-08-171-1/+1
|
* Fix asyncnet example. Rearrange net code.Dominik Picheta2014-08-101-282/+282
|