Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -4/+1 |
| | |||||
* | Change type of `Timeval.tv_sec` to `posix.Time` (#7646) | Oscar Nihlgård | 2018-04-18 | 1 | -2/+6 |
| | |||||
* | make nativesockets.Hostent.addrlist readable for ipv4 af_inet addresses (see ↵ | skilchen | 2018-04-13 | 1 | -2/+18 |
| | | | | issue #7314) (#7327) | ||||
* | Fixed crash/interface. Added tests. | Yuriy Glukhov | 2018-03-15 | 1 | -1/+1 |
| | |||||
* | Fixes #4995. (#7157) | Dominik Picheta | 2018-02-13 | 1 | -2/+22 |
| | |||||
* | Implements nativesockets.accept. | Dominik Picheta | 2017-11-24 | 1 | -2/+15 |
| | |||||
* | breaking change: arrays of char do not convert to cstring; ptr to array of ↵ | Andreas Rumpf | 2017-10-10 | 1 | -6/+8 |
| | | | | char does | ||||
* | Merge branch 'stringify-array' of https://github.com/krux02/Nim into ↵ | Andreas Rumpf | 2017-10-09 | 1 | -2/+2 |
|\ | | | | | | | krux02-stringify-array | ||||
| * | removed newString proc again, reverted some unnecesary changes | Arne Döring | 2017-07-24 | 1 | -2/+2 |
| | | |||||
* | | Fix `getPeerAddr()` `getPeerAddr()`: +`sin6_addr` (#6410) | wt | 2017-09-21 | 1 | -2/+2 |
| | | |||||
* | | Introduce first class support for Android (#5772) | Fredrik Høisæther Rasch | 2017-08-06 | 1 | -1/+1 |
|/ | |||||
* | Implement dial, support IPv6 in httpclient (#5763) | Ruslan Mustakov | 2017-05-02 | 1 | -16/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement dial, support IPv6 in httpclient Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``, ``asyncnet``. It merges socket creation, address resolution, and connection into single step. When using ``dial``, you don't have to worry about IPv4 vs IPv6 problem. Fixed addrInfo loop in connect to behave properly. Previously it would stop on first non-immediate failure, instead of continuing and trying the remaining addresses. Fixed newAsyncNativeSocket to raise proper error if socket creation fails. Fixes: #3811 * Check domain during connect() only on non-Windows This is how it was in the previous implementation of connect(). * Call 'osLastError' before 'close' in net.dial * Record osLastError before freeAddrInfo in net.dial * Add missing docs for 'dial' proc * Optimize dial to create one FD per domain, add tests And make async IPv6 servers work on Windows. * Add IPv6 test to uri module * Fix getAddrString error handling | ||||
* | Posix from detect (#5697) | Jacek Sieka | 2017-04-12 | 1 | -6/+6 |
| | | | | | | | | | | * refactor posix.nim * types move to separate files for platform-specifc and generic ("other') * consts move to separate files that get autogenerated by detect.nim * proc's stay where they are for now, though in a second stage might move as well * fix missing when | ||||
* | Fixes ambiguity introduced by #5390. | Dominik Picheta | 2017-04-09 | 1 | -2/+2 |
| | |||||
* | Add gethostname to nativesockets (#5443) | Federico Ceratto | 2017-03-01 | 1 | -0/+16 |
| | |||||
* | cleaned up accept-close-race fix #5279 | Araq | 2017-02-07 | 1 | -25/+0 |
| | |||||
* | Move checkCloseError to nativesockets | Ruslan Mustakov | 2017-02-07 | 1 | -0/+25 |
| | |||||
* | Fix Windows accept() to fail future instead of raising | Ruslan Mustakov | 2017-02-01 | 1 | -1/+2 |
| | | | | Resolves: #5279 | ||||
* | deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib ↵ | Andreas Rumpf | 2017-01-30 | 1 | -10/+12 |
| | | | | deprecations | ||||
* | Fix nativesockets.select() | Loris Pederiva | 2017-01-18 | 1 | -7/+30 |
| | |||||
* | Added 'android4' define support that declares a different gethostbyaddr. ↵ | Ruslan Mustakov | 2016-06-22 | 1 | -2/+7 |
| | | | | Fixes #4376 | ||||
* | Merge branch 'unix-sockets' of https://github.com/girvo/Nim into ↵ | Dominik Picheta | 2016-05-30 | 1 | -1/+1 |
|\ | | | | | | | girvo-unix-sockets | ||||
| * | net.nim: add support for Unix sockets | Michał Zieliński | 2015-10-28 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #3648 from FedericoCeratto/reuse_port | Andreas Rumpf | 2016-05-29 | 1 | -1/+1 |
|\ \ | | | | | | | Add SO_REUSEPORT support | ||||
| * | | Add SO_REUSEPORT support | Federico Ceratto | 2015-12-16 | 1 | -1/+1 |
| | | | |||||
* | | | Define ports as uint16s to fix #3484 | Josep Sanjuas | 2016-03-27 | 1 | -15/+51 |
| | | | |||||
* | | | Fixed deprecation warnings while Nim compiles. | Hans Raaf | 2016-01-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | I just removed unsigned and changed a writeLn() call to writeLine() to avoid the remaining deprecation warnings. | ||||
* | | | Fix nativesockets compilation on OpenBSD and NetBSD | def | 2015-12-23 | 1 | -1/+1 |
|/ / | |||||
* | | Fixed getAddrInfo on android | Yuriy Glukhov | 2015-12-08 | 1 | -1/+2 |
| | | |||||
* | | OpenBSD doesn't support AI_V4MAPPED | Juan Francisco Cantero Hurtado | 2015-11-23 | 1 | -1/+3 |
|/ | | | Related to #3534 | ||||
* | Merge remote-tracking branch 'origin/devel' into fix-test-failures | Aman Gupta | 2015-10-06 | 1 | -1/+0 |
| | |||||
* | Rename rawsockets module to nativesockets | Adam Strzelecki | 2015-10-03 | 1 | -0/+553 |
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. |