Con Kolivas
|
1afb794cb3
|
Cast socketfail to integer since SOCKET is an unsigned int on windows.
|
2012-10-07 18:23:22 +11:00 |
|
Con Kolivas
|
a8d693029a
|
Move stratum sockets to curl infrastructure with locking around send+recv to begin support for proxies and ssl.
|
2012-10-05 12:37:29 +10:00 |
|
Con Kolivas
|
deb0a9b644
|
Windows doesn't work with MSG_PEEK on recv so move to a continuously updating buffer for incoming messages.
|
2012-10-04 23:18:33 +10:00 |
|
Con Kolivas
|
c113534feb
|
Begin support for mingw stratum build.
Conflicts:
configure.ac
|
2012-10-04 17:52:35 +10:00 |
|
Con Kolivas
|
b5617734fa
|
Provide locking around stratum send operations to avoid races.
|
2012-09-30 23:10:43 +10:00 |
|
Con Kolivas
|
2de951518e
|
Abstract out share submit as a function to be useable by stratum.
|
2012-09-30 20:24:24 +10:00 |
|
Con Kolivas
|
739cba28a7
|
Rename parse_stratum to parse_method as it is only for stratum messages that contain methods.
|
2012-09-30 19:19:46 +10:00 |
|
Con Kolivas
|
7415d7aaa0
|
Begin implementing a hash database of submissions and attempt sending results.
|
2012-09-29 16:10:13 +10:00 |
|
Con Kolivas
|
56255a0c86
|
Create a stratum thread per pool that has stratum that monitors the socket and serves received data.
|
2012-09-28 18:01:33 +10:00 |
|
Con Kolivas
|
a6f1a62220
|
Create helper functions for checking when a socket is ready to read on and receive a single line at a time.
Begin stratum authorisation process.
|
2012-09-28 04:35:16 +10:00 |
|
Con Kolivas
|
a1b17229b8
|
Initiate stratum and grab first json result.
|
2012-09-26 15:23:01 +10:00 |
|
Con Kolivas
|
58873c1dfa
|
Get detailed addressinfo from the parsed URL for future raw socket usage when possible. IPV4 only for now.
|
2012-09-25 20:23:59 +10:00 |
|
Con Kolivas
|
ee3b7865e2
|
Prepare for getaddrinfo call.
|
2012-09-25 05:46:07 +10:00 |
|
Con Kolivas
|
144a016097
|
Add data structures to pool struct for socket communications.
|
2012-09-24 16:50:04 +10:00 |
|
Con Kolivas
|
b3cdd8029a
|
Put all socket definitions in util.h to allow reusing by added socket functions to be used in util.c.
|
2012-09-24 16:27:47 +10:00 |
|