<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: winsock in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/winsock/m-p/943596#M17673</link>
    <description>If you are using Http, Ftp, or Gopher protocols, you're better off using WinInet APIs then Winsock.  For WinInet, I can recommend Aaron Skonnard's book &lt;A href="http://www.amazon.com/exec/obidos/ASIN/0201379368/" target="_blank"&gt;Essential Wininet&lt;/A&gt; as a supplement to the documentation.  But if your intentions lie outside those three protocols, you're stuck rolling your own with Winsock. &lt;BR /&gt; &lt;BR /&gt;CVF 6.5 doesn't ship with a wininet module, but I have a CVF translation of the wininet.h header file &lt;A href="http://www.termine.org/f90/Wininet/wininet.f90" target="_blank"&gt;available here&lt;/A&gt;. &lt;BR /&gt; &lt;BR /&gt;-John</description>
    <pubDate>Thu, 12 Apr 2001 02:54:58 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-04-12T02:54:58Z</dc:date>
    <item>
      <title>winsock</title>
      <link>https://community.intel.com/t5/Software-Archive/winsock/m-p/943594#M17671</link>
      <description>has anyone done any winsock communications with the cvf6.5? &lt;BR /&gt; &lt;BR /&gt;Would be obliged. &lt;BR /&gt;Tim</description>
      <pubDate>Thu, 22 Mar 2001 02:40:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/winsock/m-p/943594#M17671</guid>
      <dc:creator>rahzan</dc:creator>
      <dc:date>2001-03-22T02:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: winsock</title>
      <link>https://community.intel.com/t5/Software-Archive/winsock/m-p/943595#M17672</link>
      <description>I have done tcp and udp sockets work since FORTRAN 5 (or 4).  It's a little ugly - but has worked fine for many years - the FORTRAN socket code I built communicates 50 times a second to another machine and I have over 20 instances of it running for over 2 years.  I believe there was one improper type for one of the Win32 calls.   The rest of the work was straight forward.  Now, You may be able to hit some ActiveX components instead of doing all the System calls.  What do you have in mind?</description>
      <pubDate>Sat, 24 Mar 2001 03:43:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/winsock/m-p/943595#M17672</guid>
      <dc:creator>davehilgemann</dc:creator>
      <dc:date>2001-03-24T03:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: winsock</title>
      <link>https://community.intel.com/t5/Software-Archive/winsock/m-p/943596#M17673</link>
      <description>If you are using Http, Ftp, or Gopher protocols, you're better off using WinInet APIs then Winsock.  For WinInet, I can recommend Aaron Skonnard's book &lt;A href="http://www.amazon.com/exec/obidos/ASIN/0201379368/" target="_blank"&gt;Essential Wininet&lt;/A&gt; as a supplement to the documentation.  But if your intentions lie outside those three protocols, you're stuck rolling your own with Winsock. &lt;BR /&gt; &lt;BR /&gt;CVF 6.5 doesn't ship with a wininet module, but I have a CVF translation of the wininet.h header file &lt;A href="http://www.termine.org/f90/Wininet/wininet.f90" target="_blank"&gt;available here&lt;/A&gt;. &lt;BR /&gt; &lt;BR /&gt;-John</description>
      <pubDate>Thu, 12 Apr 2001 02:54:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/winsock/m-p/943596#M17673</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-12T02:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: winsock</title>
      <link>https://community.intel.com/t5/Software-Archive/winsock/m-p/943597#M17674</link>
      <description>John, you re-surprise me each time :-). I started translating it sometime in October and stopped at half, wondering when I will find some time to finish it.  &lt;BR /&gt;Regarding sockets, I found an &lt;A href="http://groups.google.com/groups?hl=en&amp;amp;lr=&amp;amp;group=comp.os.ms-windows.programmer.win32&amp;amp;safe=off&amp;amp;ic=1&amp;amp;th=227fccca18e72099&amp;amp;seekd=925750172#925750172"&gt;interesting C source&lt;/A&gt; in comp.os.ms-windows.programmer.win32 ng, if you don't mind translating it into Fortran. I'm also interested on the topic, but, as I said above, I didn't have time to work on it. &lt;BR /&gt; &lt;BR /&gt;Regards&lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Thu, 12 Apr 2001 06:03:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/winsock/m-p/943597#M17674</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2001-04-12T06:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: winsock</title>
      <link>https://community.intel.com/t5/Software-Archive/winsock/m-p/943598#M17675</link>
      <description>Hi Jugoslav, &lt;BR /&gt; &lt;BR /&gt;I'll make you a deal on winsock2.h.  I'll translate the #defines and UDTs if you'll do the function prototypes. ;-)   &lt;BR /&gt; &lt;BR /&gt;Seriously, hand translation (done right) is too tedious and time consuming.  In the future, my billing rate will be fairly high. :)  If you want to, let me know if there are any interesting differences between what you have translated and what mine looks like. &lt;BR /&gt; &lt;BR /&gt;cheers, &lt;BR /&gt;John</description>
      <pubDate>Thu, 12 Apr 2001 07:00:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/winsock/m-p/943598#M17675</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-12T07:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: winsock</title>
      <link>https://community.intel.com/t5/Software-Archive/winsock/m-p/943599#M17676</link>
      <description>John, we got a deal :-). There are ~85 function prototypes, shouldn't be too hard. However, I see quite a bunch of macros -- what about them? &lt;BR /&gt;What UDT stands for? &lt;BR /&gt; &lt;BR /&gt;Regarding WinInet, I started translating from top to bottom, did Find&amp;amp;Replace for all relevant keywords and then went to converting &lt;BR /&gt;typedefs and function declarations; I came to about half. Btw, does  &lt;BR /&gt;anyone know why, in the F90 standard, scope of INTERFACE declaration &lt;BR /&gt;is "isolated" from outer scope, i.e. why &lt;BR /&gt; &lt;BR /&gt;&lt;FONT size="+0"&gt;&lt;PRE&gt; 
MODULE Header 
TYPE T_FOO 
     INTEGER iFoo 
END TYPE 
INTERFACE 
     SUBROUTINE f_foo(tFoo) 
     TYPE(T_FOO):: tFoo 
     END SUBROUTINE f_foo 
END INTERFACE 
END MODULE Header 
&lt;/PRE&gt;&lt;/FONT&gt; &lt;BR /&gt; &lt;BR /&gt;isn't legal, and, moreover, INTERFACE cannot USE module where it is defined, so the module must be broken into two, one with interfaces &lt;BR /&gt;and another with declarations? &lt;BR /&gt; &lt;BR /&gt;John, I suggest that we continue by e-mail (jdujic@uns.ns.ac.yu), since this wents out of scope of this forum. &lt;BR /&gt; &lt;BR /&gt;Regards&lt;BR /&gt; &lt;BR /&gt;Jugoslav</description>
      <pubDate>Thu, 12 Apr 2001 19:24:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/winsock/m-p/943599#M17676</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2001-04-12T19:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: winsock</title>
      <link>https://community.intel.com/t5/Software-Archive/winsock/m-p/943600#M17677</link>
      <description>Hi Jugoslav, &lt;BR /&gt; &lt;BR /&gt;UDT - User Defined Type, aka, derived type (f90), struct (C).  Sorry :).  &lt;P&gt; macros? you get those too, of course.  :)  Really, I was hoping you were just kidding.  I'll send you email. &lt;BR /&gt; &lt;BR /&gt;Interface blocks have their own scope.   Host association is not extended to interface blocks.  And a module can't access itself.  I used to remember from c.l.f. posts why this is the case, but I can't recall now.  I know that Metcalfe and Reid 2nd ed. discusses it briefly.  This issue is broadly considered to be a pain in the neck.  Supposedly F2k+ will support a new keyword (import?) that will relieve one from hoisting dependant derived-types into their own module.   &lt;BR /&gt; &lt;BR /&gt;cheers, &lt;BR /&gt;John&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2001 01:24:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/winsock/m-p/943600#M17677</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-13T01:24:44Z</dc:date>
    </item>
  </channel>
</rss>

