aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2020-10-31 12:32:06 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2020-10-31 12:32:06 -0400
commitd0529f621ac38f3deed6e02515445eac1f9fdd13 (patch)
tree27fd6792c4e1170eb3783023241e9f8a65935ee0
parent4dea44a7c7f17a42b02ca6721cf5821d281058d8 (diff)
downloadLR-87-d0529f621ac38f3deed6e02515445eac1f9fdd13.zip
LR-87-d0529f621ac38f3deed6e02515445eac1f9fdd13.tar.gz
Increased socket read timeout.
-rw-r--r--gemini.prj8
-rw-r--r--network.F902
2 files changed, 5 insertions, 5 deletions
diff --git a/gemini.prj b/gemini.prj
index 1f044b4..b1cff20 100644
--- a/gemini.prj
+++ b/gemini.prj
@@ -44,7 +44,7 @@
"filename":"history.f90",
"enabled":"1"
},{
- "filename":"internal.f90",
+ "filename":"internal.F90",
"enabled":"1"
},{
"filename":"layout.f90",
@@ -85,7 +85,7 @@
"Options":{
"Compiler Options":{
"Fortran Flags":"",
- "Link Flags":"-lssl -lcrypto -lpthread -ldl",
+ "Link Flags":"-lfortran-sdl2 -lSDL2 -lssl -lcrypto -lpthread -ldl",
"C Flags":""
},
"Architecture":1,
@@ -93,10 +93,10 @@
"Revision":2,
"Windows GUI":0,
"File Options":{
- "Library Directories":["Default Add-On Directory"],
+ "Library Directories":["Default Add-On Directory","../git/fortran-sdl2"],
"Build Directory":"build",
"Module Directory":"modules",
- "Include Directories":["Default Add-On Include Directory"]
+ "Include Directories":["Default Add-On Include Directory","../git/fortran-sdl2"]
},
"Target":"lr87",
"Fortran Options":{
diff --git a/network.F90 b/network.F90
index 8e77b9d..90bf2be 100644
--- a/network.F90
+++ b/network.F90
@@ -30,7 +30,7 @@ implicit none
integer(kind=c_int), parameter::SOCK_STREAM = 1
- integer, parameter::socket_timeout_ms = 3000
+ integer, parameter::socket_timeout_ms = 10000
#ifdef WINDOWS
integer, parameter::hostent_int_kind = c_short